osdir.com

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

[users@httpd] Rotate logs in apache-2.4.29


Hi All,

I am trying to use rotatelogs in my webserver, but unable to do that. Please help me to know where I am going wrong. 

httpd.conf:
CustomLog "|/bin/rotatelogs logs/httpd_log 60" combined

error_log:
(4002)No such file or directory: AH00104: unable to start piped log program ' /bin/rotatelogs /logs/httpd_log 60'
AH00015: Unable to open logs


I tired for access_log too. But getting the same error.

Thanks
Hemant