Preventing Log Rotation

Discussion in 'General' started by zoom, Nov 27, 2008.

  1. zoom

    zoom Member

    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: Nov 27, 2008
  2. zoom

    zoom Member

    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: Nov 28, 2008

Share This Page