On Wed, Jan 30, 2013 at 10:38 AM, Cilmar dos Santos Oliveira
<[email protected]> wrote:
> kern.* -/var/log/messages #(here I would like
> include the xconsole for the kern parameter)
>
> I cant remember if I use the pipe " | " or another separetor for it. Can
> someone help?
Hi Cilmar,
According to the rsyslog docs (hint, hint ;)), you need to put the
second action on the next line and precede it with an ampersand (&).
You'll also need the pipe (|) (not a separator; it's for writing to
FIFOs) with /dev/xconsole for it to work. Something like:
kern.* -/var/log/message,
& |/dev/xconsole
Also, for Ubuntu (I just tested this on my Ubuntu install), you may
have to create /dev/xconsole before using the xconsole command:
https://lists.ubuntu.com/archives/ubuntu-sponsors/2010-April/000338.html
I did on Ubuntu 11.10.
HTH,
--
G. Matthew Rice <[email protected]> gpg id: EF9AAD20
_______________________________________________
lpi-discuss mailing list
[email protected]
http://list.lpi.org/cgi-bin/mailman/listinfo/lpi-discuss