Re: Rotating logs

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

 



On 11/12/2010 08:11 PM, Patrick McCambridge wrote:
Hi Tony, the answers to your first questions are yes and yes.  I am running
Apache 2.2.16
Here is my full path to rotatelogs:
V:\Apache22\bin
Here is my full path to logs folder:
V:\Apache22\logs

TransferLog "| /Apache22/bin/rotatelogs -l -f
/Apache22/logs/apache_access_log.%m-%d-%y-%I:%M:%S 86400"

You're running Apache on Windows, but you're using Unix paths here. Change this to

TransferLog "| V:/Apache22/bin/rotatelogs.exe -l -f V:/Apache22/logs/access-%m-%d-%y-%I-%M-%S.log 86400"

(please note that : is an illegal character in a Windows filename)

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