• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

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