[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] Redirecting stderr on current shell
- Subject: [ale] Redirecting stderr on current shell
- From: fletch at phydeaux.org (Fletch)
- Date: 04 Jun 2003 10:15:19 -0400
>>>>> "John" == John Wells <jb at sourceillustrated.com> writes:
[...]
John> Anyway, when we get up to a shell on the client, syslog
John> messages appear to be spitting out to the tty we're on. How
John> would you go about redirecting stderr on a shell your
John> currently using, without killing/restarted.
Well the answer would be use some incantation of `exec 2> foo.err',
but that won't work because the messages are coming from syslog
writing directly to the tty. You'd need either change syslog.conf so
that it doesn't write the messages in question to the user your logged
in as (probably root) or log in as a different user. See man
syslog.conf for more details.
--
Fletch | "If you find my answers frightening, __`'/|
fletch at phydeaux.org | Vincent, you should cease askin' \ o.O'
770 294-0820 (m) | scary questions." -- Jules =(___)=
| U
_______________________________________________
Ale mailing list
Ale at ale.org
http://www.ale.org/mailman/listinfo/ale