Hi,
I was wondering if I could have a different log file whenever the application server (Tomcat) is restarted. Right now whenever the application server is restarted, the log file is over-written and all previous logs are lost. How can I create the log file name similar to ones that Tomcat logs uses. For example like this:
filename = {filename.current-date-and-time}
which will allow me to preserve all log files for different server instantiations.
Also when I am using log4j with Struts, Struts logs so many of its own errors to my log file (i don't know how?), how do I turn that off since its increasing the size of the log exponentially ...
Thanks,
Samit
I was wondering if I could have a different log file whenever the application server (Tomcat) is restarted. Right now whenever the application server is restarted, the log file is over-written and all previous logs are lost. How can I create the log file name similar to ones that Tomcat logs uses. For example like this:
filename = {filename.current-date-and-time}
which will allow me to preserve all log files for different server instantiations.
Also when I am using log4j with Struts, Struts logs so many of its own errors to my log file (i don't know how?), how do I turn that off since its increasing the size of the log exponentially ...
Thanks,
Samit