2010/2/25 Michael Biebl <[email protected]>:
>
> Seems, the xconsole/pipe related fixes did not make it into this release.

Running rsyslogd in debug mode and opening xconsole (as root) I get

8841.463601465:b6e86b70: Message from UNIX socket: #3
8841.463676615:b6e86b70: logmsg: flags 4, from 'pluto', msg Feb 25
01:47:21 sudo:  michael : TTY=pts/4 ; PWD=/home/michael/debian/rsyslog
; USER=root ; COMMAND=/usr/bin/xconsole
8841.463705390:b6e86b70: Message has legacy syslog format.
8841.463735003:b6e86b70: main Q: entry added, size now 1 entries
8841.463762660:b6e86b70: wtpAdviseMaxWorkers signals busy
8841.463795905:b6e86b70: main Q: EnqueueMsg advised worker start
8841.463825239:b6e86b70: --------imuxsock calling select, active file
descriptors (max 3): 3
8841.463884465:b7687b70: main Q: entry deleted, state 0, size now 0 entries
8841.463925812:b7687b70: Filter: check for property 'programname'
(value 'sudo') contains 'NetworkManager': FALSE
8841.463959895:b7687b70: Filter: check for property 'programname'
(value 'sudo') contains 'wpa_supplicant': FALSE
8841.463997330:b7687b70: Called action, logging to builtin-file
8841.464033369:b7687b70: file to log to: /var/log/auth.log
8841.464057674:b7687b70: doWrite, pData->pStrm 0x8a32360, lenBuf 124
8841.464081699:b7687b70: strm 0x8a32360: file 9 flush, buflen 124
8841.464150983:b7687b70: strm 0x8a32360: file 9 write wrote 124 bytes
8841.464196520:b7687b70: Called action, logging to builtin-file
8841.464224177:b7687b70: file to log to: /dev/xconsole
8841.464247086:b7687b70: doWrite, pData->pStrm 0x8a3c248, lenBuf 124
8841.464269714:b7687b70: strm 0x8a3c248: file -1 flush, buflen 494
8841.464298210:b7687b70: Note: stream '/dev/xconsole' is a named pipe,
open with O_NONBLOCK
8841.464340674:b7687b70: file '/dev/xconsole' opened as #-1 with mode 416
8841.464380065:b7687b70: strm 0x8a3c248: open error 6, file
'/dev/xconsole': No such device or address
8841.464413869:b7687b70: main Q:Reg/w0: worker IDLE, waiting for work.


The relevant rsyslog.conf configuration is

daemon.*;mail.*;\
        news.err;\
        *.=debug;*.=info;\
        *.=notice;*.=warn       |/dev/xconsole

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com

Reply via email to