From: | Jonathan Gardner <jgardner(at)jonathangardner(dot)net> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Shankar K <shan0075(at)yahoo(dot)com> |
Cc: | pgsql-admin(at)postgresql(dot)org |
Subject: | Re: capture vacuumdb verbose output |
Date: | 2003-06-04 15:24:26 |
Message-ID: | 200306040824.27795.jgardner@jonathangardner.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Monday 02 June 2003 12:25, Tom Lane wrote:
> Shankar K <shan0075(at)yahoo(dot)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(at)jonathangardner(dot)net>
(was jgardn(at)alumni(dot)washington(dot)edu)
Live Free, Use Linux!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQE+3g8qWgwF3QvpWNwRAp7oAKCvmS6Li6NoZeWqcutMRvwaNQ3VFgCgqP86
Og8aNP/SkGXO44B7DjYvvzU=
=Ixax
-----END PGP SIGNATURE-----
From | Date | Subject | |
---|---|---|---|
Next Message | Shankar K | 2003-06-04 16:45:57 | interpret vacuum verbose output |
Previous Message | Martins Zarins | 2003-06-04 15:05:10 | ALTER TABLE |