![]() |
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. |
Just rename the log file in a cron job, litespeed will create a new log file automatically. No special care need to be taken. :)
|
Just to be sure: No need to restart lsws? Are the old logfiles closed? (with Apache you need a restart)
|
Yes, no need to restart LSWS, web server can detect it automatically, close the older file then create a new one. :-)
|
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. |