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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > General > Preventing Log Rotation

Reply
 
Thread Tools Display Modes
  #1  
Old 11-27-2008, 07:08 AM
zoom zoom is offline
Senior Member
 
Join Date: Nov 2005
Posts: 92
Default Preventing Log Rotation

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 by zoom; 11-27-2008 at 07:47 AM..
Reply With Quote
  #2  
Old 11-28-2008, 06:01 AM
zoom zoom is offline
Senior Member
 
Join Date: Nov 2005
Posts: 92
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 by zoom; 11-28-2008 at 06:09 AM..
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 01:10 AM.



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