LiteSpeed Support Forums

LiteSpeed Support Forums (http://www.litespeedtech.com/support/forum/index.php)
-   Feedback/Feature Requests (http://www.litespeedtech.com/support/forum/forumdisplay.php?f=10)
-   -   Rotating Access Logs - LiveStats (http://www.litespeedtech.com/support/forum/showthread.php?t=457)

Proweb-UK 05-30-2006 03:34 AM

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.

mistwang 05-30-2006 06:07 AM

Just rename the log file in a cron job, litespeed will create a new log file automatically. No special care need to be taken. :)

sofatime 08-04-2006 10:47 AM

Just to be sure: No need to restart lsws? Are the old logfiles closed? (with Apache you need a restart)

mistwang 08-04-2006 10:58 AM

Yes, no need to restart LSWS, web server can detect it automatically, close the older file then create a new one. :-)

sofatime 08-04-2006 11:04 AM

Cool! I am so used to Apache that I sometimes don't even think that others can do better... :-)


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