Re: [SLUG] Syslogd and klogd

From: Russell Hires (rhires@earthlink.net)
Date: Thu May 13 2004 - 18:14:27 EDT


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

> First guess is you could create a process which is something like
>
> tail -f $PIPE | grep -v $SOUND_MESSAGE >> kern.log
>
> and have syslogd write all relevant messages to $PIPE.

But isn't that going backwards? I want to take those messages *out* of
kern.log and syslog. They're getting put there somehow, and I want to
redirect them to some other place (like /dev/null).

But this gives an idea, but I don't know if it makes sense. I would put the
messages from kern.log, take them out, then rewrite kern.log. Or something
like that. Never mind. I just need to keep the messages from getting to
kern.log in the first place.

Russell

- --
Linux -- the OS for the Renaissance Man
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAo/NEAqKGrvVshJQRAnhmAJ9/ikRCRn968HElYb0fU0qVJqH7bgCfXmOd
RqlHGlmQ+tEDU4IKs/LiqaI=
=PXDe
-----END PGP SIGNATURE-----

-----------------------------------------------------------------------
This list is provided as an unmoderated internet service by Networked
Knowledge Systems (NKS). Views and opinions expressed in messages
posted are those of the author and do not necessarily reflect the
official policy or position of NKS or any of its employees.



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 18:14:08 EDT