Hi,
I need to record all debug statements (System.out.println("xyz")) from my
application in catalina.out log. When I start Tomcat it creates the log
file and only records statements till the server startup. But after that,
none of the System.out.println() statements present in my JSPs get
recorded in catalina.out file. Though I can see these statements in the
Tomcat console.
Tomcat Version : apache-tomcat-7.0.27
OS : Windows 7
I am attaching few files which might be of some help.
logging.properties --> present in tomcat/conf
catalina.2013-12-31.log --> example, so that you can see what gets
generated. Present in tomcat/logs
log4j.properties --> present in tomcat/webapps/myapp/WEB-INF/classes
I have seen the documentation present in
http://tomcat.apache.org/tomcat-7.0-doc/logging.html But, the problem is
that I can only use the default configuration (JULI). I cannot go for any
other option. So, I need to find out a way using my current configuration
only.
Thanks in advance.
Best Regards,
Tapajyoti
=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain
confidential or privileged information. If you are
not the intended recipient, any dissemination, use,
review, distribution, printing or copying of the
information contained in this e-mail message
and/or attachments to it are strictly prohibited. If
you have received this communication in error,
please notify us by reply e-mail or telephone and
immediately and permanently delete the message
and any attachments. Thank you
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]