Re: syslog_line_prefix - Mailing list pgsql-hackers

From Joshua D. Drake
Subject Re: syslog_line_prefix
Date
Msg-id 1253901682.15354.49.camel@jd-desktop.iso-8859-1.charter.com
Whole thread Raw
In response to syslog_line_prefix  (Itagaki Takahiro <itagaki.takahiro@oss.ntt.co.jp>)
List pgsql-hackers
On Mon, 2009-09-14 at 09:43 +0900, Itagaki Takahiro wrote:
> 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'.


IMO we should just make log_line_prefix work with syslog/eventlog too.

> 
> 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
-- 
PostgreSQL.org Major Contributor
Command Prompt, Inc: http://www.commandprompt.com/ - 503.667.4564
Consulting, Training, Support, Custom Development, Engineering
If the world pushes look it in the eye and GRR. Then push back harder. - Salamander



pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: Hot Standby 0.2.1
Next
From: Brendan Jurd
Date:
Subject: Re: CREATE LIKE INCLUDING COMMENTS and STORAGES