You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Bastien LEGRAS <ba...@capgemini.com> on 2009/04/17 17:30:21 UTC

[users@httpd] Apache CustomLog Syslog Format

Hello,

I'm using Apache 2.2.8 / Ubuntu and have a issue regarding CustomLog
formatting and syslog. When in my VirtualHost I set :

LogLevel info
ErrorLog /var/log/apache2/error.log
CustomLog /var/log/apache2/access.log "%t %l %u @%h Enterprise Directory -
Apache TIMER:%T"

Everything goes well but when I replace those directives by :

LogLevel info
ErrorLog /var/log/apache2/error.log
CustomLog syslog "%t %l %u @%h Enterprise Directory - Apache TIMER:%T"

I tailf /var/log/syslog and cannot retrieve my apache logs with the format I
specified.

Any clue ? I restarted both apache and syslog-ng.

Thanks,

Bastien LEGRAS






This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is 
intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to 
read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message 
in error, please notify the sender immediately and delete all copies of this message.

[users@httpd] Re: Apache CustomLog Syslog Format

Posted by Dan Poirier <po...@pobox.com>.
Suggest you read the documentation on CustomLog.

-- 
Dan Poirier <po...@pobox.com>


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org