ports/141109: net/sixxs-aiccu: should log to DAEMON or so

Helmut Schneider jumper99 at gmx.de
Wed Dec 2 13:00:13 UTC 2009


>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:



More information about the freebsd-ports-bugs mailing list