How to write to Tomcat log files
Posted
by Ankur
on Stack Overflow
See other posts from Stack Overflow
or by Ankur
Published on 2010-03-15T04:12:09Z
Indexed on
2010/03/15
4:19 UTC
Read the original article
Hit count: 844
What is the easiest way to print out something in a Tomcat Log file.
I was under the impression that System.out.println() would print to one of the log files.
I just want to print out the value of a string, so the simplest solution would be best. If there is no simple/trivial solution I guess I will use Log4J
© Stack Overflow or respective owner