pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruce Momjian <bruce@momjian.us>
To: Evan Rempel <erempel@uvic.ca>
Cc: Fujii Masao <masao.fujii@gmail.com>
Cc: pgsql-admin@postgresql.org <pgsql-admin@postgresql.org>
Subject: Re: 9.5 new setting "cluster name" and logging
Date: Fri, 19 Feb 2016 11:12:45 -0500
Message-ID: <20160219161245.GE30326@momjian.us> (raw)
In-Reply-To: <56C73A39.7010609@uvic.ca>
References: <1377186808.57546.YahooMailNeo@web193505.mail.sg3.yahoo.com>
	<A737B7A37273E048B164557ADEF4A58B17C08086@ntex2010a.host.magwien.gv.at>
	<1377494614.9111.YahooMailNeo@web193506.mail.sg3.yahoo.com>
	<A737B7A37273E048B164557ADEF4A58B17C0876C@ntex2010a.host.magwien.gv.at>
	<56AC5601.5040208@uvic.ca>
	<20160218214202.GA30326@momjian.us>
	<27145.1455832381@sss.pgh.pa.us>
	<56C64017.7050303@uvic.ca>
	<CAHGQGwF1q05ot5hd-Cn+sd0nz7iuqjA+GKz2ZmZb-JURd_TZmA@mail.gmail.com>
	<56C73A39.7010609@uvic.ca>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-admin>

On Fri, Feb 19, 2016 at 07:52:25AM -0800, Evan Rempel wrote:
> >>Allowing for the cluster_name to be referenced by an escape sequence
> >>would make manual and automated configuration management easier.
> >What if log_destination is set to csvlog? The same cluster_name is
> >output in every lines, and there is no way to disable it because
> >something like csv_line_prefix has not been supported yet?
> >
> >Regards,
> >
>
> I would think that in the case of using a csvlog that you would
> configure the log_line_prefix to not include the escape sequence of
> the cluster_name. The administrator would tune all of the logging
> components to work together, or am I missing something here?

csvlog isn't affected by log_line_prefix --- it outputs all fields every
time:

	http://www.postgresql.org/docs/9.5/static/runtime-config-logging.html#RUNTIME-CONFIG-LOGGING-CSVLOG

-- 
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

+ As you are, so once was I. As I am, so you will be. +
+ Roman grave inscription                             +


-- 
Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin



view thread (20+ messages)  latest in thread

Message-ID: <20160219161245.GE30326@momjian.us>
Permalink:  ../20160219161245.GE30326@momjian.us/
Also on:    postgresql.org/message-id/20160219161245.GE30326@momjian.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: bruce@momjian.us, erempel@uvic.ca, masao.fujii@gmail.com
  Subject: Re: 9.5 new setting "cluster name" and logging
  In-Reply-To: <20160219161245.GE30326@momjian.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox