Here is my syslog-ng.conf On 8/7/06, syslog-ng-request@lists.balabit.hu <syslog-ng-request@lists.balabit.hu> wrote:
Send syslog-ng mailing list submissions to syslog-ng@lists.balabit.hu
To subscribe or unsubscribe via the World Wide Web, visit https://lists.balabit.hu/mailman/listinfo/syslog-ng or, via email, send a message with subject or body 'help' to syslog-ng-request@lists.balabit.hu
You can reach the person managing the list at syslog-ng-owner@lists.balabit.hu
When replying, please edit your Subject line so it is more specific than "Re: Contents of syslog-ng digest..."
Today's Topics:
1. Re: syslog-ng doesn't log messages (Sandor Geller)
----------------------------------------------------------------------
Message: 1 Date: Mon, 07 Aug 2006 10:36:41 +0200 From: Sandor Geller <wildy@balabit.hu> Subject: Re: [syslog-ng] syslog-ng doesn't log messages To: Syslog-ng users' and developers' mailing list <syslog-ng@lists.balabit.hu> Message-ID: <44D6FB99.5070804@balabit.hu> Content-Type: text/plain; charset=ISO-8859-2
Fernando Loureiro wrote:
I think everything is ok with my conf but it isn't working with some applications such as openldap, apcupsd.
Can somebody help me? Here is a part of my conf.
[]s -- Fernando
------------------------------
options { chain_hostnames(off); sync(0); use_dns(no); create_dirs(yes); };
source kernsrc { file("/proc/kmsg"); internal(); };
destination openldap { file("/var/log/openldap.log"); }; destination apcupsd { file("/var/log/apcupsd.log"); };
filter f_openldap { program(slapd); }; filter f_apcupsd { program(apcupsd); };
log { source(kernsrc); filter(f_openldap); destination(openldap); }; log { source(kernsrc); filter(f_apcupsd); destination(apcupsd); };
This is a very incomplete configuration. You missed /dev/log, userspace processes don't log through /proc/mksg.
-- Sandor Geller wildy@balabit.hu
------------------------------
_______________________________________________ syslog-ng maillist - syslog-ng@lists.balabit.hu https://lists.balabit.hu/mailman/listinfo/syslog-ng
End of syslog-ng Digest, Vol 16, Issue 5 ****************************************