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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > General > 3.2.2 Ent changed logging settings, needs fixing

Reply
 
Thread Tools Display Modes
  #1  
Old 09-22-2007, 05:26 AM
jrmarino jrmarino is offline
Senior Member
 
Join Date: Apr 2007
Posts: 114
Default 3.2.2 Ent changed logging settings, needs fixing

Ever since I updated to 3.2.2 enterprise, my access logs are gone.

They used to show like this:
access.log.2007_09_05.23
access.log.2007_09_05.22
access.log.2007_09_05.21
access.log.2007_09_05.20

Now I all I have is this:
access.log
which seems to contain just very recent access items

The most important question is:
How can I make 3.2.2 log like it was before? I changed a config item and did a graceful restart, but it's still logging on one file.



The follow up question is: Why are these upgrades changing the configuration? This isn't the only example I have where a setting was changed after an upgrade.
Reply With Quote
  #2  
Old 09-22-2007, 03:50 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
looks like awstats is off, if you do not want to turn on awstats, just rotate the log file with a cron job.
Reply With Quote
  #3  
Old 09-22-2007, 03:55 PM
jrmarino jrmarino is offline
Senior Member
 
Join Date: Apr 2007
Posts: 114
awstats is and was running as desired. It was not off.

I just want it to work like it was before I did the upgrade. That's the only thing I did. I did not have a cron job rotating the files, litespeed did this on its own.
Reply With Quote
  #4  
Old 09-22-2007, 05:21 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
awstats should be set to do hourly update, daily update will not rotate the log file very hour.
Reply With Quote
  #5  
Old 09-22-2007, 10:39 PM
jrmarino jrmarino is offline
Senior Member
 
Join Date: Apr 2007
Posts: 114
It already is set to hourly. It always has been. And yes, I just checked it again.

Quote:
AWStats Integration

Update Mode: Dynamic
Working Directory: $VH_ROOT/awstats
Update Interval : Hourly
Update Offset (secs): 0
Secured Connection: No
Reply With Quote
  #6  
Old 09-22-2007, 10:44 PM
jrmarino jrmarino is offline
Senior Member
 
Join Date: Apr 2007
Posts: 114
It appears that awstats is running, it does clear the access.log file hourly (I guess because it's always small) but it fails to move the previous access.log to a new file.
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 12:13 AM.



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