PDA

View Full Version : How to clear server log automatically?


bfcrew
03-23-2009, 10:21 PM
How to clear server log automatically after a gracefully restart?

I just moved from VPS, so I have to do it all by myself.

mistwang
03-25-2009, 09:30 AM
You can remove the error log file anytime you want. You can have LSWS create a new error log for each restart.
http://www.litespeedtech.com/docs/webserver/config/general/#disableInitLogRotation

set it to no.