Date: Wed, 2 Dec 2009 12:58:35 GMT From: Helmut Schneider <jumper99@gmx.de> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/141109: net/sixxs-aiccu: should log to DAEMON or so Message-ID: <200912021258.nB2CwZkJ071635@www.freebsd.org> Resent-Message-ID: <200912021300.nB2D07oH012232@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 141109 >Category: ports >Synopsis: net/sixxs-aiccu: should log to DAEMON or so >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Dec 02 13:00:07 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Helmut Schneider >Release: 8.0-RELEASE >Organization: >Environment: >Description: Sixxs-Aiccu logs to LOCAL7 which is used for many other things like apache httpd error log. I can't see why it does not simply log e.g. to DAEMON which sounds resonable for me. I tried to create a patch but without success (probably because I don't know C(++) very well), aiccu still logs to LOCAL7. >How-To-Repeat: >Fix: --- ./common/common.c.org 2009-12-02 13:41:44.000000000 +0100 +++ ./common/common.c 2009-12-02 13:42:25.000000000 +0100 @@ -37,7 +37,7 @@ if (g_aiccu && !g_aiccu->verbose && level == LOG_DEBUG) return; #ifndef _WIN32 - if (g_aiccu && g_aiccu->daemonize > 0) vsyslog(LOG_LOCAL7|level, fmt, ap); + if (g_aiccu && g_aiccu->daemonize > 0) vsyslog(LOG_DAEMON|level, fmt, ap); else { vfprintf(stderr, fmt, ap); >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200912021258.nB2CwZkJ071635>