[Xitami] Logfile issues
Rick Headly
rickhead at gmail.com
Wed Jan 30 17:50:41 CET 2008
i used to see the same (or similar) thing going on here russel...
back in the days when i used a default naming system and allowed all my
v-hosts to write to a single log-storage directory.
this all seemed to correct itself once i devised a log naming system of my
own, and instructed most of the logs to write to their own unique storage
directories. the cfg files for 'most' of my v-hosts, now have lines which
look something like this:
[Accesslog]
Cycle-arg = "acc_domain-nickname-%yy%mm%dd.log"
Filename = "domain-nickname_access.log"
[Errorlog]
Cycle-arg = "err_domain-nickname-%yy%mm%dd.log"
Filename = "domain-nickname_errors.log"
[Server]
Log-dir = "./domain-directory/logs"
... and it all seems to work.
my guess, is that something in your config is trying to force xitami to
write multiple files with the same name... and those digits are being tagged
to the tail end of the file name, in an effort to prevent new logs from
quickly being overwritten.
hope this helps...
good luck! :)
rick
On 1/30/08, Russel Olinger <rolinger1 at hotmail.com> wrote:
>
> My logs files are set to cycle once a day and then to store then log file
> into the default name: ac%yy%mm%dd.log
>
> However, I almost everyday I see the following log entries:
> ac%yy%mm%dd.log
> ac%yy%mm%dd.log_000
> ac%yy%mm%dd.log_001
>
> the .log_000 and .log_001 files are never consistent...sometime one or
> both are empty, sometimes one of them has valid CLFX (extended) log entries
> in them.
>
> I don't know what is causing this or why its splitting out into multiple
> files....but its causing a problem using awstats because awstats requires
> files to be processed in sequential order and entries in the _000 and _001
> files often aren't getting processed which are skewing my actualy numbers.
>
> I don't see anything in my logging section that would cause these _00x
> files to be created and written to.
>
> Has anyone seen this before?
>
>
> --
> Xitami Users Mailing List -- For Xitami support
> To unsubscribe: http://lists.xitami.org/mailman/listinfo/xitami
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.xitami.org/pipermail/xitami/attachments/20080130/777c0614/attachment.htm
More information about the Xitami
mailing list