• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

How do I clear the log files??

T

tycoonx

Guest
How do I clear the log files - particularly error as its nearly 1000mb for one website! Any ideas or help would be appreciated - these seem to have been static for a while now but wont go away!
 
You could do something like echo "" > error_log to empty the file, but I think you just want to set up log rotation.

If the error_log keeps growing fast, you might want to check what the errors in there are and see if they appear because of bugs in the code or because of malicious and/or random requests.
 
Back
Top