Hi,
I am using TC 3.3a-2 (from Linux RPM)
I have an entry as follows in one of my apps-whatever.xml files:
<LogSetter name="servlet_log"
timestamps="true"
verbosityLevel = "INFORMATION"
path="/var/log/tomcat3/micro.log"
/>
It works great, except it rotates the logs every day (overwriting the
current micro.log while doing it.)
It would be nice to rotate once a week, changing filenames in a similar
manner as linux's logrotate functionality. I suppose that I could have
it not rotate, and then use linux's logrotate, but I think I would have
to restart tomcat every time I wanted to rotate the logs (which isn't
really preferred.) But I can't even figure out how to not have it
rotate daily.
Am I stuck having daily logs with a date-stamp in the filename? (per the
default config) If that's my only choice, I guess I could write some
scripts to clean up the log directory every night...
thanks for any insight,
-Ray
--
To unsubscribe: <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>