Skip to content

The module runs a cron every hour to check the size of the log files and if the size of the files is equal or greater the size(MB) set in the admin It will removing the logs depending on the selected options

License

Notifications You must be signed in to change notification settings

ReggieTe/magento-2-log-cleaner

Repository files navigation

Magento 2 Module for auto deleting logs

Warning

Use project at your own risk ,the owners or contributors will not be held liable for any damages of any sort caused by using this code This code is an illustration of how a log auto cleaner can be implemented

How it works

The module is triggered by write to the logs to check the size of the log files and if the size of the files is equal or greater the size(MB) set in the admin It will removing the logs depending on the selected options

Option 1

Delete - It will delete the logs

About

The module runs a cron every hour to check the size of the log files and if the size of the files is equal or greater the size(MB) set in the admin It will removing the logs depending on the selected options

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published