Preventing Log Rotation

zoom

Well-Known Member
#1
I'm trying to prevent LiteSpeed from rotating the logs by setting the rolling size to 2G and the keep days to 0. The reason for preventing LiteSpeed from rotating the logs is to address a problem with awstats in LiteSpeed.

Therefore, I'm running awstats as a cron job and use logrotate to handle the log rotation. However, I'm noticing that LiteSpeed is for some strange reason rotating log files even though they haven't reached the 2G limit, Why? Should I have Keep Days set as "Not Set" instead of "0"??
 
Last edited:

zoom

Well-Known Member
#2
In case some needs to know how to prevent the logs from rotating you do need to set "Keep Days" to "Not Set" and set the log size to something big ie: 1G
 
Last edited:
Top