Putting timestamps in PostgreSQL log

Started by Christopher Kings-Lynneover 24 years ago3 messages
#1Christopher 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

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Christopher Kings-Lynne (#1)
Re: Putting timestamps in PostgreSQL log

"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

#3Martín Marqués
martin@bugs.unl.edu.ar
In reply to: Christopher Kings-Lynne (#1)
Re: Putting timestamps in PostgreSQL log

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
-----------------------------------------------------------------