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.
- 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);
vfprintf(stderr, fmt, ap);--knvMQEcsJTDWzMOr2J0K0MhtKBKjzyjRYuvsLXTeomKcD4j1
Content-Type: text/plain; name="file.diff"
Content-Disposition: attachment; filename="file.diff"
--- ./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;
Over to maintainer (via the GNATS Auto Assign Tool)
Apache logs by default in its one file.
By activating it you define the scope, normally local1
you can easy setup syslog to put stuff from apache.local7
and sixxs-aiccu.local7 into different logfiles.
Chnanging default ifor sixxs-aiccu makes not much sense here.
Maybe you can explain why this as an option would make sense.
dinoex 2009-12-09 09:33:35 UTC
FreeBSD ports repository
- add option WITH_LOG_DAEMON
Revision Changes Path
1.11 +7 -0 ports/net/sixxs-aiccu/Makefile
firstname.lastname@example.org mailing list
To unsubscribe, send any mail to "email@example.com"
$ man syslog.conf
A program specification is a line beginning with `#!prog' or `!prog' (the
former is for compatibility with the previous syslogd, if one is sharing
syslog.conf files, for example) and the following blocks will be associ-
ated with calls to syslog(3) from that specific program. A program spec-
ification for `foo' will also match any message logged by the kernel with
the prefix `foo: '. The `#!+prog' or `!+prog' specification works just
like the previous one, and the `#!-prog' or `!-prog' specification will
match any message but the ones from that program. Multiple programs may
be listed, separated by commas: `!prog1,prog2' matches messages from
either program, while `!-prog1,prog2' matches all messages but those from
`prog1' or `prog2'.
So putting this at the end of your syslogd.conf:
Will keep the apache logs clean.