Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1XWT8y-0004lw-5Z for pgsql-bugs@arkaria.postgresql.org; Tue, 23 Sep 2014 16:40:48 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1XWT8w-0004AY-J4 for pgsql-bugs@arkaria.postgresql.org; Tue, 23 Sep 2014 16:40:46 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1XWRMB-0006Zl-IJ for pgsql-bugs@postgresql.org; Tue, 23 Sep 2014 14:46:19 +0000 Received: from wrigleys.postgresql.org ([204.145.124.246]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1XWRLv-0005HL-CG for pgsql-bugs@postgresql.org; Tue, 23 Sep 2014 14:46:18 +0000 MIME-Version: 1.0 Subject: BUG #11477: psql -L no stderr To: pgsql-bugs@postgresql.org From: hans@matfyz.cz Date: Tue, 23 Sep 2014 14:45:46 +0000 Message-ID: <20140923144546.17171.14394@wrigleys.postgresql.org> X-Pg-Spam-Score: -1.9 (-) Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org 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