RE: [syslog-ng]Redhat 7.2, syslog-ng 1.6 and logger, and no loggi ng
Just a typo, I can't seem to paste into cxoffice running IE (outlook web <sigh>). But I'm getting farther. In spite of the fact that "which syslog-ng" returned /usr/local/sbin/syslog-ng" which when I executed with "-V" reported as version 6rc3, I just noticed the start stop entries in the log file was still version stamped 1.5(somthing). Somehow the redhat init script is calling the wrong one, but I deleted the old one from whereever else it was, then I found that it was failing to start due to looking for it's config file in /usr/local/etc/sysconfig-ng/ not in /etc/sysconfig-ng/ I found the switch for the configure file reconfigured and recompiled and now it's working! The man page indicates that w/o the -f param it looks in /etc/syslog-ng, but if that was the intent, shouldn't hte configure script be changed to actually reflect this? Anyway thanks for the help! -Erich -----Original Message----- From: Hamilton Andrew To: syslog-ng@lists.balabit.hu Sent: 8/4/03 2:04 PM Subject: RE: [syslog-ng]Redhat 7.2, syslog-ng 1.6 and logger, and no logging It may be a typo on the message but your filter line says f_fileter2 and your log line says f_filter2. Could this be your problem? Regards -----Original Message----- From: Weidner, Erich [mailto:eweidner@ciber.com] Sent: Monday, August 04, 2003 3:56 PM To: 'syslog-ng@lists.balabit.hu' Subject: [syslog-ng]Redhat 7.2, syslog-ng 1.6 and logger, and no logging I'm unable to get messages into /var/log/messages with logger. I've compiled and installed syslog-ng 1.6rc3, I've the following config. (modified the contrib/syslong-ng.conf.Redhat) config file. Relavent lies of it are: source s_sys { pipe ("proc/kmsg" log_prefix"kernel: ")); unix-dgram ("/dev/log"); internal(); }; filter f_fileter2 { level(info .. emerg) and not (facility(mail) or facility(authpriv) or facility(cron)); }; log { source(s_sys); filter(f_filter2); destination(d_mesg); }; I've tried the following: logger -p daemon.crit "Testing, Hello?" and various others such as user.crit user.warn, etc. Nothing. Syslog-ng does however log the fact that it starts and stops (at least after I edited the default filter to be (info .. emerg) instead of just (info) I also see a few entries for STATS: dropped 0. Help! -Erich
participants (1)
-
Weidner, Erich