Hi Uday,

you don't address the right mailing list. Your issue/question is Apache httpd server related.

Take a look on:

http://httpd.apache.org/

Regards
JB

On 08/26/2011 11:34 PM, umodumudi wrote:
Hi Forum,

I'm a newbie to apache and currently I'm trying to setup a site using apache
version 2.0

I succeeded in setting up the site. However, I see that the access and error
logs are using large space and I want to rotate the logs.

I used the rotatelogs utility available but for some reason, it does not
work.

Below are the entries from my httpd.conf file which I tried and not working.

# CustomLog logs/access_log common
# CustomLog "|/usr/local/apache2/bin/rotatelogs
/usr/local/apache2/logs/access_log.%Y&m%d-%H%M 60" common
# TransferLog "|/usr/local/apache2/bin/rotatelogs
/usr/local/apache2/logs/access_log 120"
CustomLog "|/usr/local/apache2/bin/rotatelogs
/usr/local/apache2/logs/access_log 120 0" custom

I did google a lot to see if anything is wrong. Could someone advise me
where I'm going wrong.

Thanks
Uday

--
View this message in context: 
http://servicemix.396122.n5.nabble.com/apache-rotatelogs-does-not-work-tp4739605p4739605.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

--
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com

Reply via email to