pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Lutz Steinborn <l.steinborn@4c-ag.de>
To: pgsql-admin@postgresql.org
Subject: logfile per DataBase
Date: Fri, 24 Feb 2012 14:54:57 +0100
Message-ID: <20120224145457.79c4dcd16cdafabf7234a9f8@4c-ag.de> (raw)

Hello,

is it possible to configure postgresql to produce one logfile per database
in a cluster?
I can't find any hint about this in the doc.

Something like:
log_filename = 'postgresql-[DBNAME]-%Y-%m-%d_%H%M%S.log'

It would be very use full for a development server. 

have a happy weekend

Lutz



view thread (2+ messages)  latest in thread

Message-ID: <20120224145457.79c4dcd16cdafabf7234a9f8@4c-ag.de>
Permalink:  ../20120224145457.79c4dcd16cdafabf7234a9f8@4c-ag.de/
Also on:    postgresql.org/message-id/20120224145457.79c4dcd16cdafabf7234a9f8@4c-ag.de

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: l.steinborn@4c-ag.de
  Subject: Re: logfile per DataBase
  In-Reply-To: <20120224145457.79c4dcd16cdafabf7234a9f8@4c-ag.de>
  References: <20120224145457.79c4dcd16cdafabf7234a9f8@4c-ag.de>

* 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