LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Feedback/Feature Requests > Disable log rotation

Reply
 
Thread Tools Display Modes
  #1  
Old 04-10-2009, 04:40 PM
priestjim priestjim is offline
Senior Member
 
Join Date: Mar 2009
Location: Athens, Greece
Posts: 60
Default Disable log rotation

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!
Reply With Quote
  #2  
Old 04-13-2009, 04:13 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
http://www.litespeedtech.com/docs/we...nitLogRotation

set log file size limit to 2G.
Reply With Quote
  #3  
Old 04-30-2009, 12:43 AM
priestjim priestjim is offline
Senior Member
 
Join Date: Mar 2009
Location: Athens, Greece
Posts: 60
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
__________________
Web hosting, Domain Names, VPS and Dedicated Servers in one of the most secure, reliable, fast and low-cost web hosting services in the European market.

:: dnHost Interactive Agency :: Supporting and providing Litespeed Web Server in all shared hosting and VPS servers since 2008 ::
Reply With Quote
  #4  
Old 04-30-2009, 09:33 AM
auser auser is offline
Senior Member
 
Join Date: Mar 2009
Posts: 119
Quote:
Originally Posted by priestjim View Post
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.
Reply With Quote
  #5  
Old 04-30-2009, 12:47 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
It should not be a problem any more with the latest 4.0.3 build.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 05:57 AM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.