Re: capture vacuumdb verbose output - Mailing list pgsql-admin

From Jonathan Gardner
Subject Re: capture vacuumdb verbose output
Date
Msg-id 200306040824.27795.jgardner@jonathangardner.net
Whole thread Raw
In response to Re: capture vacuumdb verbose output  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: capture vacuumdb verbose output  (Shankar K <shan0075@yahoo.com>)
List pgsql-admin
-----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-----

pgsql-admin by date:

Previous
From: "Eko Pranoto"
Date:
Subject: (OOT) test only
Next
From: Shankar K
Date:
Subject: interpret vacuum verbose output