Link to home
Start Free TrialLog in
Avatar of mikesung99
mikesung99

asked on

Configuring the STDOUT Logging for Apache Tomcat 5.5

Hi,

We currently have a solution deployed on an apache Tomcat 5.5 server (running on Windows 2003) which is running as expected, however we have an issue with regards to the stdout log. We re-direct a lot of output to the standard output and over a period of time this grows to an unmanageable size in excess of 2GB.

We are looking into a way in which Tomcat 5.5 can better manage the stdout logging such as the possibility of tomcat rotating logs or having a file size limit (e.g. have a maximum of 50 logs of 100mb each, overwriting the oldest log when 50 logs have been reached)

Is such configuration possible in Tomcat 5.5? – We know that one solution would be to modify the Tomcat servlet code to control the logging that way but this is not currently possible so this need to be managed at the Tomcat Server level.

Any feedback would be greatly appreciated.      

Thanks & Regards,

Michael
SOLUTION
Avatar of for_yan
for_yan
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Avatar of girionis
girionis
Flag of Greece image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial