Apache rotatelogs gives error

Posted by newbie.my on Server Fault See other posts from Server Fault or by newbie.my
Published on 2012-03-23T03:20:16Z Indexed on 2012/03/23 5:32 UTC
Read the original article Hit count: 465

Filed under:

Recently I have implement apache 2.4.1 in my web server.The problem is the rotate logs seems to be not functioning.Here is the output in the error_log:

[core:error] [pid 13060:tid 47015847145408] (2)No such file or directory

The command line that i have put in the httpd.conf are such as below:

CustomLog "|bin/rotatelogs -l /var/log/logfile.%Y.%m.%d 86400" combined

Is there anything wrong here with my setup?For your information I've already tested it in apache 2.2.22 and everythings is perfectly working.

Thanks.

© Server Fault or respective owner

Related posts about apache2