Re: Custom timestamp format in logs - Mailing list pgsql-hackers

From Heikki Linnakangas
Subject Re: Custom timestamp format in logs
Date
Msg-id 548EF055.4040509@vmware.com
Whole thread Raw
In response to Re: Custom timestamp format in logs  (Magnus Hagander <magnus@hagander.net>)
List pgsql-hackers
On 12/14/2014 06:36 PM, Magnus Hagander wrote:
> A separate GUC seems kind of weird. Wouldn't it be better with something
> like %(format)t or such in the log_line_prefix itself in that case? That
> could also be expanded to other parameters, should we need them?

%t isn't the only thing that prints timestamps in the logs, e.g:

LOG:  database system was shut down at 2014-12-15 15:30:15 EET

- Heikki



pgsql-hackers by date:

Previous
From: Alex Shulgin
Date:
Subject: Re: [PATCH] add ssl_protocols configuration option
Next
From: Tom Lane
Date:
Subject: Re: Minor binary-search int overflow in timezone code