syslog_line_prefix - Mailing list pgsql-hackers

From Itagaki Takahiro
Subject syslog_line_prefix
Date
Msg-id 20090914093124.E15E.52131E4D@oss.ntt.co.jp
Whole thread Raw
Responses Re: syslog_line_prefix
Re: syslog_line_prefix
Re: syslog_line_prefix
List pgsql-hackers
Here is a patch to add a GUC parameter "syslog_line_prefix".
It adds prefixes to syslog and eventlog. We still have
"log_line_prefix", that will be used only for stderr logs.

We have a tip that log_line_prefix is not required for syslog
in the documentation, but we'd better to have independent setttings
if we set log_destination to 'stderr, syslog'.

http://developer.postgresql.org/pgdocs/postgres/runtime-config-logging.html#RUNTIME-CONFIG-LOGGING-WHAT
| Tip:  Syslog produces its own time stamp and process ID
| information, so you probably do not want to use those escapes
| if you are logging to syslog.

Regards,
---
ITAGAKI Takahiro
NTT Open Source Software Center

Attachment

pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: COPY enhancements
Next
From: Robert Haas
Date:
Subject: Re: Elementary dependency look-up