If Tomcat is unpacked from the zip file and started manually, all the log files specified in logging.properties are created - admin.DATE.log, catalina.DATE.log, and so on. If Tomcat is installed using the Windows Service Installer, and the service is started, the log files are also created correctly. However, if Tomcat is unpacked from the zip file and installed as a service (using 'service install'), and the service is started, the log files aren't created. This is due to two JVM options that aren't set up - java.util.logging.manager and java.util.logging.config.file. For consistency, service.bat should set these options, like the Windows installer does. The attached patch fixes this.
Created attachment 21186 [details] Patch for service.bat (in the container module)
Fixed in trunk and proposed for back port for 6.0.x and 5.5.x. Many thanks for the patch.
Fixed in 5.5.x and will be included in 5.5.26 onwards.
I've tested this in Tomcat 5.5 and 6.0 and it works fine. Thanks for getting my patch into the tree. Who should close the bug? You or me? Thanks.
It's all yours ;)
Thanks Mark.