Rotation of logs in file error.log
Version 1.0.2-beta
Release date 06.06.2023
Downloads 1 315
Views 1 528
This extra solves the problem of big error file.

Logs rotation

On some sites over the years has accumulated a huge number of entries in the error log MODX. File size may exceed gigabytes.

Extra logRotation checks the size of the file error.log. The plugin will delete old entries when the size exceeds the maximum allowed size specified in the system settings


Install the add-on and specify the maximum file size in the system setting logrotation_size.


  • Check existing log file


  • Hide warning for file_size function


  • First release