From: Itagaki Takahiro <itagaki(dot)takahiro(at)oss(dot)ntt(dot)co(dot)jp>
To: pgsql-hackers(at)postgresql(dot)org
Subject: syslog_line_prefix
Date: 2009-09-14 00:43:41
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: 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'.
| 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.

ITAGAKI Takahiro
NTT Open Source Software Center

Attachment Content-Type Size
syslog_line_prefix-20090914.patch application/octet-stream 15.9 KB


Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2009-09-14 01:20:44 Re: Elementary dependency look-up
Previous Message Andrew Dunstan 2009-09-14 00:17:45 Re: COPY enhancements