1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

How do I clear the log files??

Discussion in 'Plesk for Linux - 8.x and Older' started by tycoonx, Oct 4, 2007.

  1. tycoonx

    tycoonx Guest

    0
     
    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!
     
  2. breun

    breun Golden Pleskian

    29
     
    Joined:
    Jun 28, 2005
    Messages:
    1,647
    Likes Received:
    0
    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.
     
  3. tycoonx

    tycoonx Guest

    0
     
    thanks for that
     
Loading...