From owner-freebsd-questions Tue Mar 6 23:10:14 2001 Delivered-To: freebsd-questions@freebsd.org Received: from snipe.prod.itd.earthlink.net (snipe.prod.itd.earthlink.net [207.217.120.62]) by hub.freebsd.org (Postfix) with ESMTP id 55B2F37B718 for ; Tue, 6 Mar 2001 23:10:12 -0800 (PST) (envelope-from jerry@jerrywang.dyndns.org) Received: from dragon.jerrywang.dyndns.org (sdn-ar-016casfrMP120.dialsprint.net [158.252.220.122]) by snipe.prod.itd.earthlink.net (EL-8_9_3_3/8.9.3) with ESMTP id XAA19957 for ; Tue, 6 Mar 2001 23:10:09 -0800 (PST) Received: (from jerry@localhost) by dragon.jerrywang.dyndns.org (8.11.1/8.11.1) id f277A7k36601 for freebsd-questions@FreeBSD.ORG; Tue, 6 Mar 2001 23:10:07 -0800 (PST) (envelope-from jerry) Date: Tue, 6 Mar 2001 23:10:07 -0800 From: "Jerry Y. Wang" To: freebsd-questions@FreeBSD.ORG Subject: Re: Redirecting stderr to syslog ... Message-ID: <20010306231007.A36586@dragon.jerrywang.dyndns.org> Mail-Followup-To: freebsd-questions@FreeBSD.ORG References: <3AA52914.EB033F18@journalstar.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3AA52914.EB033F18@journalstar.com>; from awells@journalstar.com on Tue, Mar 06, 2001 at 12:14:44PM -0600 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG That does not work in tcsh or csh. On Tue, Mar 06, 2001 at 12:14:44PM -0600, Tony Wells wrote: > If you want to re-direct both stdout and stderr you could use: > 2>&1 > > The Hermit Hacker wrote: > > > > If I want to redirect stderr to a file, in tcsh, I do: > > > > >& > > > > If I want to redirect stdout to syslog, I do: > > > > | logger -p > > > > 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