Re: [users@httpd] How to rotate the logs in Windows XP?

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

 



PKarthick wrote:
Hi all,
I need to have separate log files on daily basis...for every 24 hours new log file should be created...
When I am trying to rotate the log file (access.log) in Apache using rotatelogs.exe,I could not start the apache service...I also tried using mod_log_rotate.so, i configured httpd.conf according to the instructions...but I could not get the desired result.
Where might I have went wrong?
Does anybody have solution for this?

Thanks in advance,
Karthick P
Systems Engineer
Hosting Services Group


please post your log line(s) from httpd.log.
as far as i recall you have to place rotatelog.exe in the root of a
drive like c:/rotatelog.exe and also make sure the target directory exists


here is an example:
CustomLog "|D:/rotatelogs.exe \
d:/logs/apache2/http/apache.%Y-%m-%d-%H_%M_%S 86400" combined

./allan


---------------------------------------------------------------------
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