Putting timestamps in PostgreSQL log

Поиск
Список
Период
Сортировка
Искать

Putting timestamps in PostgreSQL log

От:
"Christopher Kings-Lynne" <chriskl@familyhealth.com.au>
Дата:
Would it be an idea to add timestamps to the PostgreSQL error/debug/notice
log?

Sometimes I would really like to know when an event has occurred!

Chris


Re: Putting timestamps in PostgreSQL log

От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
"Christopher Kings-Lynne"  writes:
> Would it be an idea to add timestamps to the PostgreSQL error/debug/notice
> log?

Already done, see log_timestamp entry in postgresql.conf.
		regards, tom lane

Re: Putting timestamps in PostgreSQL log

От:
Martín Marqués <martin@bugs.unl.edu.ar>
Дата:
On Lun 17 Sep 2001 23:28, Christopher Kings-Lynne wrote:
> Would it be an idea to add timestamps to the PostgreSQL error/debug/notice
> log?
>
> Sometimes I would really like to know when an event has occurred!

Use syslog and you'll get timestamps in your log.

Saludos... :-)

-- 
Porqué usar una base de datos relacional cualquiera,
si podés usar PostgreSQL?
-----------------------------------------------------------------
Martín Marqués                  |        mmarques@unl.edu.ar
Programador, Administrador, DBA |       Centro de Telematica                      Universidad Nacional                           del Litoral
-----------------------------------------------------------------

FAQ