Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Mar 2001 07:02:40 -0400 (AST)
From:      The Hermit Hacker <scrappy@hub.org>
To:        <freebsd-questions@freebsd.org>
Subject:   Redirecting stderr to syslog ...
Message-ID:  <Pine.BSF.4.33.0103060701220.859-100000@mobile.hub.org>

next in thread | raw e-mail | index | archive | help

If I want to redirect stderr to a file, in tcsh, I do:

	<prog> >& <file>

If I want to redirect stdout to syslog, I do:

	<prog> | logger -p <pri>

How would one redirect stderr to syslog?

Thanks ...

Marc G. Fournier                   ICQ#7615664               IRC Nick: Scrappy
Systems Administrator @ hub.org
primary: scrappy@hub.org           secondary: scrappy@{freebsd|postgresql}.org


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.33.0103060701220.859-100000>