Re: Addition of %b/backend_type in log_line_prefix of TAP test logs - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Addition of %b/backend_type in log_line_prefix of TAP test logs
Date
Msg-id 1420338.1747871931@sss.pgh.pa.us
Whole thread Raw
In response to Addition of %b/backend_type in log_line_prefix of TAP test logs  (Michael Paquier <michael@paquier.xyz>)
List pgsql-hackers
Michael Paquier <michael@paquier.xyz> writes:
> On Wed, May 21, 2025 at 09:24:26AM +0200, Daniel Gustafsson wrote:
>> Agreed, and +1 on the change in general.

> Another point perhaps worth considering after a second look: how about
> pg_ci_base.conf?  We have the following line there, exposing this
> configuration with TEMP_CONFIG:
> src/tools/ci/pg_ci_base.conf:log_line_prefix = '%m [%p][%b] %q[%a][%v:%x] '

> The two other ones are:
> src/test/perl/PostgreSQL/Test/Cluster.pm: '%m [%p] %q%a '
> src/test/regress/pg_regress.c: '%m %b[%p] %q%a '

> Perhaps it would be better to apply the same configuration as the CI
> by default at the end?

I'd vote for standardizing on pg_regress.c's spelling, as that's got
the most usage history behind it.  I'm unexcited about bloating the
logs with [%v:%x] --- that's data I've very seldom needed.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Jeff Davis
Date:
Subject: Re: Statistics Import and Export
Next
From: Michael Paquier
Date:
Subject: Re: Minor adjustment to pg_aios output naming