P priestjim Well-Known Member Apr 11, 2009 #1 Apr 11, 2009 #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!
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!
M mistwang LiteSpeed Staff Apr 14, 2009 #2 Apr 14, 2009 #2 http://www.litespeedtech.com/docs/webserver/config/general/#disableInitLogRotation set log file size limit to 2G.
http://www.litespeedtech.com/docs/webserver/config/general/#disableInitLogRotation set log file size limit to 2G.
P priestjim Well-Known Member Apr 30, 2009 #3 Apr 30, 2009 #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
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
A auser Super Moderator Apr 30, 2009 #4 Apr 30, 2009 #4 priestjim said: 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 Click to expand... 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.
priestjim said: 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 Click to expand... 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.
M mistwang LiteSpeed Staff Apr 30, 2009 #5 Apr 30, 2009 #5 It should not be a problem any more with the latest 4.0.3 build.