Re: adding timestamp to log file entries?

Поиск
Список
Период
Сортировка
От James Hartley
Тема Re: adding timestamp to log file entries?
Дата
Msg-id CAKeNXXt3D7XEpytyzBGcFR7KV3nkZdThRfo7yjh0xemBh91PdA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: adding timestamp to log file entries?  ("mark" <dvlhntr@gmail.com>)
Список pgsql-novice
On Thu, Sep 1, 2011 at 6:43 PM, mark <dvlhntr@gmail.com> wrote:
Jim wrote...

I would like to >add
timestamps to the entries made to PostgreSQL's log file.  I vaguely recall
that this was configurable in the 8.x literature, but can't find the
>specifics.

http://www.postgresql.org/docs/9.0/static/runtime-config-logging.html

I *think* what you want is %t in your log_line_prefix


-Mark


This is exactly what I needed & didn't see.  Thank you!  I needed the cluestick.

Jim

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

Предыдущее
От: "mark"
Дата:
Сообщение: Re: adding timestamp to log file entries?
Следующее
От: Carlo Ascani
Дата:
Сообщение: Re: Automated pg_Dump issue