From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Dec 2 13:00:12 2009 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EE47210656A3 for ; Wed, 2 Dec 2009 13:00:12 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id E90188FC12 for ; Wed, 2 Dec 2009 13:00:07 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id nB2D07gT012234 for ; Wed, 2 Dec 2009 13:00:07 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id nB2D07oH012232; Wed, 2 Dec 2009 13:00:07 GMT (envelope-from gnats) Resent-Date: Wed, 2 Dec 2009 13:00:07 GMT Resent-Message-Id: <200912021300.nB2D07oH012232@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Helmut Schneider Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6E3B71065670 for ; Wed, 2 Dec 2009 12:58:35 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 5DE7E8FC0C for ; Wed, 2 Dec 2009 12:58:35 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id nB2CwZcG071636 for ; Wed, 2 Dec 2009 12:58:35 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id nB2CwZkJ071635; Wed, 2 Dec 2009 12:58:35 GMT (envelope-from nobody) Message-Id: <200912021258.nB2CwZkJ071635@www.freebsd.org> Date: Wed, 2 Dec 2009 12:58:35 GMT From: Helmut Schneider To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/141109: net/sixxs-aiccu: should log to DAEMON or so X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Dec 2009 13:00:13 -0000 >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: