I am trying to clean the log generated in var/log folder in magento 2 by cron job so that it can run periodically.I go through this link https://github.com/rakeshmagento/magento2-db-log-cleaner/blob/master/Rakeshmagento/Logcleaner/Cron/Logcleaner.php . In this way I can delete some specific file from db. Debug.log,System.log,exception.log remain as it is.I want to delete these file also. Needing help in this regard. Thank you

  • do you still need the log cleaner for the log files? – Rakesh Jakhar Oct 5 '18 at 15:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.