Re: advice on using rotatelogs, CusomLog etc

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

 



Hi,

On Thu, Jun 25, 2015 at 11:04 AM, Russell Stanfield
<russellst@xxxxxxxxxxx> 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@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




[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