pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jonathan Gardner <jgardner@jonathangardner.net>
To: Tom Lane <tgl@sss.pgh.pa.us>
To: Shankar K <shan0075@yahoo.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: capture vacuumdb verbose output
Date: Wed, 4 Jun 2003 08:24:26 -0700
Message-ID: <200306040824.27795.jgardner@jonathangardner.net> (raw)
In-Reply-To: <11475.1054581905@sss.pgh.pa.us>
References: <20030602182959.26575.qmail@web21103.mail.yahoo.com>
	<11475.1054581905@sss.pgh.pa.us>

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

On Monday 02 June 2003 12:25, Tom Lane wrote:
> Shankar K <shan0075@yahoo.com> 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.

- -- 
Jonathan Gardner <jgardner@jonathangardner.net>
(was jgardn@alumni.washington.edu)
Live Free, Use Linux!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+3g8qWgwF3QvpWNwRAp7oAKCvmS6Li6NoZeWqcutMRvwaNQ3VFgCgqP86
Og8aNP/SkGXO44B7DjYvvzU=
=Ixax
-----END PGP SIGNATURE-----



view thread (4+ messages)  latest in thread

Message-ID: <200306040824.27795.jgardner@jonathangardner.net>
Permalink:  ../200306040824.27795.jgardner@jonathangardner.net/
Also on:    postgresql.org/message-id/200306040824.27795.jgardner@jonathangardner.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: jgardner@jonathangardner.net, tgl@sss.pgh.pa.us, shan0075@yahoo.com
  Subject: Re: capture vacuumdb verbose output
  In-Reply-To: <200306040824.27795.jgardner@jonathangardner.net>
  References: <20030602182959.26575.qmail@web21103.mail.yahoo.com> <11475.1054581905@sss.pgh.pa.us> <200306040824.27795.jgardner@jonathangardner.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox