Re: Reg rotatelog.exe in apache 2.2

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

 



ErrorLog "| C:/PROGRA~1/APACHE~1/Apache2/bin/rotatelogs.exe C:/PROGRA~1/APACHE~1/Apache2/logs/error.log 300"
This is creating errorlog file as error.log.1169239200, it is not piping the log file for every 5 min
 
Do we have to turn on any flags in httpd.conf or vhost.conf to make this work??

<vsg_help@xxxxxxxxx> wrote:
Hi,
We are running apache 2.2 on windows server 2003 and I was trying to rotate the error.log file:
 
In httpd.conf I added
ErrorLog "|c:/PROGRA~1/APACHE~1/Apache2/bin/rotatelogs.exe /logs/error.log 10"
 
When I restart the apache server it says -unable to find the process for error log
 
So I changed to
ErrorLog "|c:/PROGRA~1/APACHE~1/Apache2/bin/rotatelogs.exe C :/PROGRA~1/APACHE~1/Apache2//logs/error.log 10"
 
Even then it complains the same -unable to find process for error log
 
So I changed to
ErrorLog "|rotatelog.exe logs/error.log 10"
for this the server does not complain any errors but it is not starting
 
Can anyone please let me know what could be the issue here.
 
Thanks
vsg
 

Don't be flakey. Get Yahoo! Mail for Mobile and
always stay connected to friends.


Expecting? Get great news right away with email Auto-Check.
Try the Yahoo! Mail Beta.
[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