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); };
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
participants (2)
-
Fernando Loureiro
-
Sandor Geller