From: hans@matfyz.cz
To: pgsql-bugs@postgresql.org
Subject: BUG #11477: psql -L no stderr
Date: Tue, 23 Sep 2014 14:45:46 +0000
Message-ID: <20140923144546.17171.14394@wrigleys.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
The following bug has been logged on the website:
Bug reference: 11477
Logged by: Hans Ginzel
Email address: hans@matfyz.cz
PostgreSQL version: 9.4beta2
Operating system: Centos 6.5
Description:
Hello!
Command
psql -L logfile
logs only stdout (formated with stars) but not stderr.
Command
psql -L logfile 2>logfile
logs also warnings/errors but does not write them to terminal.
Command
psql 1>&2 |tee logfile
writes both to terminal and file but without stars formatting.
I am sorry, but log without errors logging is NOT a log file. I consider not
logging stderr to logfile when -L is specified as a bug.
Please add coppying also stderr to logfile when -L.
Thank you
HG
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
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-bugs@postgresql.org
Cc: hans@matfyz.cz
Subject: Re: BUG #11477: psql -L no stderr
In-Reply-To: <20140923144546.17171.14394@wrigleys.postgresql.org>
References: <20140923144546.17171.14394@wrigleys.postgresql.org>
* 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