I'm set logs keep 1 day on LiteSpeed server but old logs files not delete, can manually deleting save?

Go to OLS Web Admin > Server Configuration > Log (tab)

  1. Specify how many days the access log file will be kept on disk. Only rotated log files older than the specified number of days will be deleted.

  2. log rolling size: set to lower number 10MB is default i believe

Restart LSWS PID after that

1 Like