I don't this will work with Tomcat unless it has binary compatibility with Apache modules.
Give it a try:
1) Load the module in your equivalent to httpd.conf
LoadModule log_rotate_module modules/mod_log_rotate.so
#or if using the DLL version
LoadModule log_rotate_module modules/mod_log_rotate.dll
2) Active the module in your equivalent to httpd.conf
RotateLogs On
RotateLogsLocalTime On
Now if you server starts up it's looking good. The last step is to check that you have a new log after midnight.
Hi, I don't this will work
Hi,
I don't this will work with Tomcat unless it has binary compatibility with Apache modules.
Give it a try:
1) Load the module in your equivalent to httpd.conf
LoadModule log_rotate_module modules/mod_log_rotate.so
#or if using the DLL version
LoadModule log_rotate_module modules/mod_log_rotate.dll
2) Active the module in your equivalent to httpd.conf
RotateLogs On
RotateLogsLocalTime On
Now if you server starts up it's looking good. The last step is to check that you have a new log after midnight.
Good luck,
Chris