Type
magento2-module
Log with archive and rotation
magento2-module
proprietary
None
None
None
None
None
None
Log with archive and rotation.
composer require dominicwatts/smarterlog
php bin/magento setup:upgrade
Trigger via shell script
xigen:smarterlog:rotate <rotate>
php bin/magento xigen:smarterlog:rotate rotate
Or let magento cron handle process
Default schedule is 0 0 * * *
(At 00:00)
Can be disabled via Store > Configuration > Xigen > Smarter Log