X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (developer.postgresql.org [64.117.224.193]) by svr1.postgresql.org (Postfix) with ESMTP id DABFDEFEAA for ; Wed, 4 Jun 2003 15:24:31 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (svr1.postgresql.org [64.117.224.193]) (amavisd-new, port 10024) with ESMTP id 84582-01 for ; Wed, 4 Jun 2003 15:24:30 +0000 (GMT) Received: from irko.smoothcorp.com (unknown [208.49.241.41]) by svr1.postgresql.org (Postfix) with ESMTP id 1C3FEEFEA7 for ; Wed, 4 Jun 2003 15:24:30 +0000 (GMT) Received: from jgardner.ifloor.com ([10.0.1.63]) by irko.smoothcorp.com with esmtp (Exim 4.12) id 19Na7o-0000vA-00; Wed, 04 Jun 2003 08:24:28 -0700 Received: from jgardner.ifloor.com (localhost.localdomain [127.0.0.1]) by jgardner.ifloor.com (8.12.8/8.12.8) with ESMTP id h54FOSZs006778; Wed, 4 Jun 2003 08:24:28 -0700 Received: from localhost (localhost [[UNIX: localhost]]) by jgardner.ifloor.com (8.12.8/8.12.8/Submit) id h54FOS9R006776; Wed, 4 Jun 2003 08:24:28 -0700 From: Jonathan Gardner To: Tom Lane , Shankar K Subject: Re: capture vacuumdb verbose output Date: Wed, 4 Jun 2003 08:24:26 -0700 User-Agent: KMail/1.5 Cc: pgsql-admin@postgresql.org References: <20030602182959.26575.qmail@web21103.mail.yahoo.com> <11475.1054581905@sss.pgh.pa.us> In-Reply-To: <11475.1054581905@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Description: clearsigned data Content-Disposition: inline Message-Id: <200306040824.27795.jgardner@jonathangardner.net> X-SA-Exim-Rcpt-To: tgl@sss.pgh.pa.us, shan0075@yahoo.com, pgsql-admin@postgresql.org X-SA-Exim-Scanned: No; SAEximRunCond expanded to false X-Archive-Number: 200306/13 X-Sequence-Number: 9004 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Monday 02 June 2003 12:25, Tom Lane wrote: > Shankar K writes: > > i'm trying to log the verbose output of vaccumdb to a > > file along with other details, but i only end up with > > logging this > > I think that output will go to stderr. > - From Bash, you can use the common idiom "2>&1". # the_command 2>&1 >> the_logfile This will capture stderr as well as stdout. - --=20 Jonathan Gardner (was jgardn@alumni.washington.edu) Live Free, Use Linux! -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE+3g8qWgwF3QvpWNwRAp7oAKCvmS6Li6NoZeWqcutMRvwaNQ3VFgCgqP86 Og8aNP/SkGXO44B7DjYvvzU=3D =3DIxax -----END PGP SIGNATURE-----