On Fri, 20 Jul 2012, marty wrote:
----- Original Message -----
From: "[email protected]" <[email protected]>
To: marty <[email protected]>; rsyslog-users <[email protected]>
Cc: Rainer Gerhards <[email protected]>
Sent: Friday, July 20, 2012 4:35 PM
Subject: Re: [rsyslog] using omstdout plugin
On Fri, 20 Jul 2012, marty wrote:
But I still can't seem to get it to work.
: root@primergy 03:56:23;rsyslogd -n
rsyslogd: WARNING: rsyslogd is running in compatibility mode. Automatically
generated config directives may interfer with your rsyslog.conf settings. We
suggest upgrading your config and adding -c5 as the first rsyslogd option.
rsyslogd: Warning: backward compatibility layer added to following
directive to rsyslog.conf: ModLoad immark
rsyslogd: Warning: backward compatibility layer added to following
directive to rsyslog.conf: MarkMessagePeriod 1200
rsyslogd: Warning: backward compatibility layer added to following
directive to rsyslog.conf: ModLoad imuxsock
you need to deal with these errors before you try anything else.
"compatibility mode" is rsyslog version1 or thereabouts, most stuff
doesn't work in this mode.
instead of doign rsyslogd -n do rsyslogd -c5 -n
It may be about time to break backwards compatibility and assume that you
are reading a config file that's reasonably current and no longer require
the -c option for every startup.
David Lang
Ok, I tried that.
Now I don't have anything appearing on stdout -- and logger logs to files but
not stdout.
I ran it under strace and just saw logging to files.
I check the /proc entries and it all seems to "make sense".
I'm runnng a ubuntu 11.10 -- I'm running the distributed rsyslogd 5.81 and a
rsyslogd 5.81 I built.
try running it in debug mode
I really don't know anything about that plugin, from Rainer's comment it's
intended only for testing, so it's probably not a good one to look at as a
template for future development (for example, I'm pretty sure it's not
going to implement batch mode correctly)
David Lang
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards