[Xitami] Logfile issues
Rick Headly
rickhead at gmail.com
Thu Jan 31 10:41:23 CET 2008
alright..
i will mention this again, only because i suspect that i may not have been
clear in my explanation the first time around.
i'm assuming that that you guys have a number of virtual hosts, and would
like each of them to create their own set of logs (*without additional
suffixed numbers being applied to the file-names*). if so, you would
probably want the config file of *each* virtual host to include these lines:
[Accesslog]
Cycle-arg = "acc-*insert pertaining v-host name here*-%yy%mm%dd.log"
Filename = "*insert pertaining v-host name here-*access.log"
[Errorlog]
Cycle-arg = "err-*insert pertaining v-host name here*-%yy%mm%dd.log"
Filename = "*insert pertaining v-host name here-*errors.log"
i strongly believe that doing so will indeed solve your problem, as long as
you've supplied a *unique* log-file naming-scheme for *each* of your virtual
hosts.
this will prevent xitami from attempting to create multiple logs with the
exact same name (*a set for each virtual host*)... which is precisely where
those extra unwanted numbers are originating.
hope this helps :)
rick
On 1/31/08, Martin Bleisteiner <martin at bleisteiner.net> wrote:
>
> Hello,
>
> *From:* Russel Olinger <rolinger1 at hotmail.com>
>
>
> 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
>
> My server Xitami 2.4d1 does the same. Seems to be dependent on virtual
> hosts. For every virtual host, and for access by every IP without name, a
> _nnn logfile is created. Not absolutely sure but I guess because every day
> it's the same until log_005 and I do have 6 virtual hosts.
>
> I don't know the reason for this behavior. No idea where to turn off.
>
> Martin
>
>
> --
> 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/20080131/93ef519f/attachment.htm
More information about the Xitami
mailing list