httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yann Ylavic <ylavic....@gmail.com>
Subject Re: [users@httpd] advice on using rotatelogs, CusomLog etc
Date Thu, 25 Jun 2015 10:51:12 GMT
Hi,

On Thu, Jun 25, 2015 at 11:04 AM, Russell Stanfield
<russellst@hotmail.com> wrote:
>
> I tried adding this:
>
> ErrorLog "|/usr/sbin/rotatelogs -f -c /apps/squid/var_log_httpd/error_log.%Y.%m.%d.%H.%M
86400" common
>
> But when I stopped/started Apache I got this error:
>
> Starting httpd: Syntax error on line 559 of /etc/httpd/conf/httpd.conf:
> ErrorLog takes one argument, The filename of the error log
>                                                            [FAILED]

Just remove the trailing "common" argument, it is meant for CustomLog
only, not ErrorLog.

Regards,
Yann.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message