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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Feedback/Feature Requests > Rotating Access Logs - LiveStats

Reply
 
Thread Tools Display Modes
  #1  
Old 05-30-2006, 03:34 AM
Proweb-UK Proweb-UK is offline
New Member
 
Join Date: May 2006
Posts: 1
Default Rotating Access Logs - LiveStats

We run Deepmatrix LiveStats to stat our vh traffic which relies on log files rotating on an arbitrary (in our casse, daily) basis with a unique log file name such as yyddmm.log. The logs are parsed on a 10 minute basis to indicate 'who's online' etc. I cannot find any examples to duplicate apache / rotatelog behaviour using an external app / pipe logger and would be grateful for any idea's ?


Thanks in advance, cool product btw.
Reply With Quote
  #2  
Old 05-30-2006, 06:07 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,583
Just rename the log file in a cron job, litespeed will create a new log file automatically. No special care need to be taken.
Reply With Quote
  #3  
Old 08-04-2006, 10:47 AM
sofatime sofatime is offline
Senior Member
 
Join Date: Jul 2006
Location: Switzerland
Posts: 59
Just to be sure: No need to restart lsws? Are the old logfiles closed? (with Apache you need a restart)
Reply With Quote
  #4  
Old 08-04-2006, 10:58 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,583
Yes, no need to restart LSWS, web server can detect it automatically, close the older file then create a new one. :-)
Reply With Quote
  #5  
Old 08-04-2006, 11:04 AM
sofatime sofatime is offline
Senior Member
 
Join Date: Jul 2006
Location: Switzerland
Posts: 59
Cool! I am so used to Apache that I sometimes don't even think that others can do better... :-)
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Logging a cookie to the access logs sfreiberg Install/Configuration 5 12-12-2006 01:25 PM
Access denied for symbolic link IO Bug Reports 2 11-03-2005 05:25 PM
Scripting is disabled for VHost [ApacheMain], access denied teledyn Install/Configuration 8 10-19-2005 06:45 PM
View Access Logs bkonia Feedback/Feature Requests 1 10-10-2005 11:53 AM
"Context Access Control" in vhost security section ts77 Install/Configuration 2 03-14-2005 01:19 AM


All times are GMT -7. The time now is 03:03 PM.



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