I'm new to rsyslogd.   I want to write a plugin.

I understand if I use the omstdout plugin, all output will be redirected to 
stdout.

I have it loaded and I haven't seen anything.  I'm using ubuntu 11.10
(rsyslog 5.8.1).  I got the source, and compiled the omstdout plugin.

: root@primergy 05:14:30;lsof -p $(pidof rsyslogd) | grep omstdout
lsof: WARNING: can't stat() fuse.gvfs-fuse-daemon file system 
/home/leisner/.gvfs
      Output information may be incomplete.
rsyslogd 13789 syslog  mem    REG                8,6     37820     484214 
/usr/lib/rsyslog/omstdout.so


In order to see stdout, I have to run 

    rsyslogd -d?

When I do this I see nothing (I tried

echo hi >/dev/kmsg)

which appears in my logs, but not my screen.  Is there anything special I have 
to do
to see the logging output on the screeN/


When I do
export RSYSLOG_DEBUG=NoStdOut

it seems the -d option is negated (i.e. forks into background).
Is there a way NOT to fork (and not have verbose output?)

Marty
_______________________________________________
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

Reply via email to