Apache 2.2.3 rotatelogs.exe on WindowsXP

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

 



Hi All

I have installed apache2.2.3 on Windows XP and am using rotatelogs.exe for ErrorLog directive like

  httpd.conf
  ---------------
  ErrorLog "| C:/test/logs/rotatelogs.exe C:/test/logs/%Y%m%d_error.log 86400"
  ---------------

rotatelogs.exe seems working correct, but I can't delete the log files from command prompt. 

  ---------------
  C:\test\logs>ls
  20071130_error.log  rotatelogs.exe

  C:\work4\logs>del 20071130_error.log

  C:\test\logs>ls
  20071130_error.log  rotatelogs.exe
 ---------------

I would like to delete old log files by script for maintenance work. To delete old logs by script, I need to kill all rotatelogs.exe process. How can you handle this? Before execute "del" command, I can delete them from Windows Explore. After "del" command, I can't. Why? 



Regards,
Kenji Kikuchi



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