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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Install/Configuration > lsws logs rotation and awstats add-on

Reply
 
Thread Tools Display Modes
  #1  
Old 01-10-2005, 07:53 AM
SyNeo SyNeo is offline
Senior Member
 
Join Date: Dec 2004
Posts: 59
Default lsws logs rotation and awstats add-on

Hello.

The lsws rotates the logs each hour, and it has started only after I enabled the awstats add-on. Is there any connection between the log rotation, and the Update Interval parameter in the awstats integration panel? How a single log file can be then achieved?

Until now, I was sure that it's the setting to enable the awstats to recalculate it's inner data every hour. By the way, how this recalculation is scheduled? There isn't any cron entry present.

Thank you.
Reply With Quote
  #2  
Old 01-10-2005, 08:38 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
You are right about the log rotation, lsws rotates the log before updating awstats statistics. So the log file will be rotated hourly if you do hourly update. If you prefer a single log file, you need to write a script to concat them together, or, just put them in a tar file every day. Maybe we will come up with a better way to archive log files later. :-)

LSWS run awstats directly, does not depends on the cron job. :-)

Best Regards,
George
Reply With Quote
  #3  
Old 01-11-2005, 04:38 AM
SyNeo SyNeo is offline
Senior Member
 
Join Date: Dec 2004
Posts: 59
Ok - thank you for the reponse. Generally, I can cat them all, and set a daily re-run, and then awstats will recalculate it's data based on these logs, once a per day. Is it correct?

Also, how I can set an auth ream for the awstats? I couldn't locate where I can define one.

Thank you.
Reply With Quote
  #4  
Old 01-11-2005, 08:47 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
Quote:
Ok - thank you for the reponse. Generally, I can cat them all, and set a daily re-run, and then awstats will recalculate it's data based on these logs, once a per day. Is it correct?
Not sure why you want to do that, if you want to awstats updated daily then choose "daily" update, then log file only rotated daily, and you should not run awstats again with the concat log file if awstats has been updated on hourly basis, it will double the result.

Quote:
Also, how I can set an auth ream for the awstats? I couldn't locate where I can define one.
Sorry for the confussion, next release should have it addressed.
Please use the "add" button at the bottom of the "Security" tab under that virtual host. :-)
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 03:50 PM.



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