httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 54796] CustomLog should be able to use syslog as ErrorLog does
Date Wed, 03 Apr 2013 19:45:37 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=54796

--- Comment #1 from sscdvp@gmail.com ---
Created attachment 30145
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=30145&action=edit
Proposed trivial patch that solves the ticket

The patch mimics the same syntax which is used for ErrorLog directive by Apache
itself (see server/log.c).
After patch applied Apache log configuration looks like that:
httpd.conf lines:
ErrorLog syslog:local3
CustomLog syslog:local4

syslog.conf lines related to Apache log files:
local4.info /opt/home/data/logs/access.log
local3.info /opt/home/data/logs/error.log

It was tested under Apache 2.2.24

-- 
You are receiving this mail because:
You are the assignee for the bug.

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


Mime
View raw message