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
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
Delete - It will delete the logs