Technical Solutions

Flush The Log Files in Magento

Posted Friday, 26 June 2015 01:00

The size of the Magento database can increase dramatically. A lot of this space is taken up by log files. To manually flush the log files:

  • Log onto your hosting via SSH
  • Change diretory to your Magento store root directory
  • execute php -f shell/log.php clean ( you can use --days 7 to keep 7 days of logs )
  • You can check progress by executing php -f shell/log.php status
  • This process can take a long time !!!
Read 1086 times Last modified on Friday, 26 June 2015 10:17


Invalid Input
Invalid e-mail address
Invalid Input
Invalid Input
Invalid Input
This form collects your name , email, and phone number so that we can get back to you. Please indicate that you consent to this below and then you will be able to contact us via this form.
Invalid Input

Find Us


Contact Details

Sussex PC Works
9 Barclays Court,
Skeyne Drive,
Pulborough RH20 2BG

Tel: 01903680683

©2018 Rhino All rights reserved

This site uses cookies and other tracking technologies to assist with navigation and analyse your use of our website and services.