Return-Path: X-Original-To: apmail-httpd-bugs-archive@www.apache.org Delivered-To: apmail-httpd-bugs-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9B2CCFCC2 for ; Wed, 3 Apr 2013 19:46:01 +0000 (UTC) Received: (qmail 42837 invoked by uid 500); 3 Apr 2013 19:46:01 -0000 Delivered-To: apmail-httpd-bugs-archive@httpd.apache.org Received: (qmail 42807 invoked by uid 500); 3 Apr 2013 19:46:01 -0000 Mailing-List: contact bugs-help@httpd.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: Reply-To: "Apache HTTPD Bugs Notification List" List-Id: Delivered-To: mailing list bugs@httpd.apache.org Received: (qmail 42799 invoked by uid 99); 3 Apr 2013 19:46:01 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Apr 2013 19:46:01 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.115] (HELO eir.zones.apache.org) (140.211.11.115) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Apr 2013 19:45:59 +0000 Received: by eir.zones.apache.org (Postfix, from userid 80) id 5717A73D2; Wed, 3 Apr 2013 19:45:37 +0000 (UTC) From: bugzilla@apache.org To: bugs@httpd.apache.org Subject: [Bug 54796] CustomLog should be able to use syslog as ErrorLog does Date: Wed, 03 Apr 2013 19:45:37 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Apache httpd-2 X-Bugzilla-Component: mod_log_config X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: sscdvp@gmail.com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: bugs@httpd.apache.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://issues.apache.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org 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