Disable log rotation

priestjim

Well-Known Member
#1
Hi!

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.

Thanks!
 

priestjim

Well-Known Member
#3
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
 

auser

Super Moderator
#4
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
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.
 
Top