logRotation

Rotation of logs in file error.log
Version 1.0.0-beta
Release date 03.22.2019
Downloads 307
Views 162
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

Instruction

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