Disable log rotation

Discussion in 'Feedback/Feature Requests' started by priestjim, Apr 11, 2009.

  1. priestjim

    priestjim Well-Known Member


    I was wondering if there is or can be implemented a way to completely disable Litespeed's log rotation for errorlog/accesslog/stderrlog in order to handle these files through external applications.

  2. mistwang

    mistwang LiteSpeed Staff

  3. priestjim

    priestjim Well-Known Member

    I did and I get this:

    2009-04-30 05:24:25.361 [WARN] [config:server:basic:logging] invalid value of <rollingSize>:2G, use default=10485760
  4. auser

    auser Super Moderator

    set to 2040M will be ok.

    but looks a small bug here: when set to 2G, although the warning issued in error.log, in admin console still see 2G setting there.

    since 32-bit OS has 2GB file-size limit, so 2G is maximum log size you can reach. For 64-bit OS, file size limit is much much larger than 2G.
  5. mistwang

    mistwang LiteSpeed Staff

    It should not be a problem any more with the latest 4.0.3 build.

Share This Page