Re: log_line_info

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: log_line_info
Дата
Msg-id 4041E4E8.7000704@dunslane.net
обсуждение исходный текст
Ответ на Re: log_line_info  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-patches

Peter Eisentraut wrote:

>Andrew Dunstan wrote:
>
>
>>Attached is a patch for tagging log lines produced by backends. It is
>>not quite ready for application - this is for people to look over and
>>play with.
>>
>>For my testing I used the following settings:
>>
>>log_connections = true
>>log_disconnections = true
>>log_line_info = '%T [%P] %U@%D(%C:%S) %I line:%L '
>>log_statement = true
>>log_hostname = true
>>log_source_port = true
>>
>>
>>Comments welcome
>>
>>
>
>I'm wondering, why did you choose to use capital letters, when normally
>the % codes are lower-case letters when possible?  I think lower-case
>letters are easier to read.
>
>

I did it to differentiate them from standard printf escapes. I don't
feel strongly about it, though. I'm currently prepping a final patch and
docs, so I'd be grateful for an early consensus on this.

cheers

andrew


В списке pgsql-patches по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: log_line_info
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: log_line_info