Rotating Access Logs - LiveStats

Discussion in 'Feedback/Feature Requests' started by Proweb-UK, May 30, 2006.

  1. Proweb-UK

    Proweb-UK New Member

    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.
  2. mistwang

    mistwang LiteSpeed Staff

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

    sofatime Well-Known Member

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

    mistwang LiteSpeed Staff

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

    sofatime Well-Known Member

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

Share This Page