Tom Lane <tgl@sss.pgh.pa.us> writes:
> "Oliver Elphick" <olly@lfix.co.uk> writes:
> > Notices are being timestamped in GMT in the syslog, instead of local
> > time like all other log entries. Here's a fragment from my syslog:
>
> Curious. I always assumed that syslog timestamps were supplied by the
> syslog daemon, but to make this happen they'd have to be supplied in the
> syslog client process (viz. the Postgres process).
That is correct. The syslog(3) function puts a timestamp in front of
the message, and writes it to the syslog daemon. The string written
to the daemon starts with <N>, where N is the priority and facility
or'ed together.
Ian