OS: Windows Server 2022 (10.0) 64bit
Java Version: 11.0.24 (Eclipse Adoptium) 64bit
Tomcat Version: Apache Tomcat/9.0.96
Lucee Version: 6.1.0.243
We are currently in the process of upgrading from Lucee 5.4.5.23 to Lucee 6 hoping that the issues we were experiencing with logging would be resolved but it looks like it is still not working properly. For some reason, at some point the logs just stop writing to application.log and the only way to get logging to resume is to toggle the logging options in the administrator which seems to trigger logs being written to the file again.
I suspect the issue is occurring when the file gets close to the max file size that something is failing and the logs just stop, however I could not find anything in the error logs to prove it.
I looked at the code for the ResourceAppender but I am not sure how/when the appender is triggered within the application. (Lucee/core/src/main/java/lucee/commons/io/log/log4j2/appender/ResourceAppender.java at 6.1.0.243 · lucee/Lucee · GitHub)
Logging Settings
Max File Size (in bytes) : 14485760
Screenshot AFTER logs were restarted by toggling logging options in the administrator
- Seemed to trigger log rotation and now there is a .bak file from when the logs stopped yesterday evening