Re: Unified logging system for command-line programs

From: Andres Freund <andres(at)anarazel(dot)de>
To: Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>, Donald Dong <xdong(at)csumb(dot)edu>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Subject: Re: Unified logging system for command-line programs
Date: 2019-04-01 18:31:12
Message-ID: 20190401183112.2k5kknfrixip4n3k@alap3.anarazel.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

On 2019-02-22 09:39:59 +0100, Peter Eisentraut wrote:
> Here is an updated patch. I've finished the functionality to the point
> where I'm content with it. I fixed up some of the remaining special
> cases in pg_dump that I hadn't sorted out last time. I also moved the
> scattered setvbuf(stderr, ...) handling (for Windows) into a central
> place. Colors can now be configured, too.
>
> --
> Peter Eisentraut http://www.2ndQuadrant.com/
> PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

> From 3e9aadf00ab582fed132e45c5745b1c38a4f59c9 Mon Sep 17 00:00:00 2001
> From: Peter Eisentraut <peter(at)eisentraut(dot)org>
> Date: Fri, 22 Feb 2019 09:18:55 +0100
> Subject: [PATCH v3] Unified logging system for command-line programs
>
> This unifies the various ad hoc logging (message printing, error
> printing) systems used throughout the command-line programs.

I'm unhappy about this being committed. I don't think there was
terribly much buyin for this amount of duplicated infrastructure.

Greetings,

Andres Freund

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Haoran Yu 2019-04-01 18:31:24 Re: GSoC proposal for pgAdmin 4 bytea support
Previous Message Raymond Martin 2019-04-01 18:28:36 RE: minimizing pg_stat_statements performance overhead