[pgpool-hackers: 4098] Re: Changing default value for log_line_prefix

Tatsuo Ishii ishii at sraoss.co.jp
Thu Jan 13 20:15:14 JST 2022


> Currently the default value for log_line_prefix is "%t pid: %p", which
> is long standing default. Since 4.2, %a (application name) and since
> 4.3 %m (timestamp with millisecond) are available.
> 
> I think now is the time to switch to modern default. I suggest:
> "%m %a pid: %p"
> 
> "%m" is the default in PostgreSQL. And I think we should follow it.
> "%a" is not in the default of PostgreSQL but Pgpool-II has many sub
> %process and adding %a will make admin's life easier.
> 
> Also I suggest to make the change to not only master branch but 4.3
> stable. There's not so many 4.3 users yet and changing the default
> will not affect existing 4.3 users. Only new 4.3 will enjoy the new
> default.
> 
> If there's no objection, I will push the change.

Attached is the proposed patch.

Best reagards,
--
Tatsuo Ishii
SRA OSS, Inc. Japan
English: http://www.sraoss.co.jp/index_en.php
Japanese:http://www.sraoss.co.jp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: log_line_prefix.patch
Type: text/x-patch
Size: 3368 bytes
Desc: not available
URL: <http://www.pgpool.net/pipermail/pgpool-hackers/attachments/20220113/27ab83d2/attachment.bin>


More information about the pgpool-hackers mailing list