Enable log rotation for m2ee_log.txt - Mendix Forum

Enable log rotation for m2ee_log.txt

0

Mendix automatically rotates Application.log, which helps prevent the file from growing indefinitely and consuming excessive disk space. However, m2ee_log.txt does not have the same behavior and continues to grow unless external scripts or manual maintenance are implemented.


Another concern is that when the Mendix service restarts, the m2ee_log.txt file is truncated. This results in the loss of previous runtime management logs, which can be important for troubleshooting and operational review.


It would be beneficial if m2ee_log.txt could support log rotation similar to Application.log. This would improve log retention, prevent uncontrolled file growth, and reduce the need for external log maintenance in long-running environments.

asked
0 answers