Re: Custom timestamp format in logs

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема Re: Custom timestamp format in logs
Дата
Msg-id 548EF055.4040509@vmware.com
обсуждение исходный текст
Ответ на Re: Custom timestamp format in logs  (Magnus Hagander <magnus@hagander.net>)
Список 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 по дате отправления:

Предыдущее
От: Alex Shulgin
Дата:
Сообщение: Re: [PATCH] add ssl_protocols configuration option
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Minor binary-search int overflow in timezone code