Re: [users@httpd] log rotation for apache 2.0.54 on w2k3 server ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Maxim Vexler said:
> On 5/21/05, Ian Huynh <ianh@xxxxxxxxxxx> wrote:
>> would pipe logging help you then?
>>
>
> No. Piping is also a *nix only feature (as far as I know).

Piping works under windows too. Although I've noticed that using several
piped logs, things stop working properly ('several' was in my case about
25). Don't know if this was a problem in my configuration, or a general
problem.

You could always use one general piped log, and add the vhost-information
to the log, so you can split logs later on.

Using strftime-style logfile-names works also under windows.

Also try avoiding spaces in file/directory names.

I usually use something like

CustomLog "|d:/apps/apache2/2.0.xx/bin/rotatelogs.exe
d:/apps/apache2/logs/access_%Y%m%d.log 86400" common

to get daily logs.

Joost


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux