Обсуждение: Putting timestamps in PostgreSQL log

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

Putting timestamps in PostgreSQL log

От
"Christopher Kings-Lynne"
Дата:
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
Дата:
"Christopher Kings-Lynne" <chriskl@familyhealth.com.au> 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
Дата:
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
 
-----------------------------------------------------------------