Skip site navigation (1) Skip section navigation (2)

logfile per DataBase

From: Lutz Steinborn <l(dot)steinborn(at)4c-ag(dot)de>
To: pgsql-admin(at)postgresql(dot)org
Subject: logfile per DataBase
Date: 2012-02-24 13:54:57
Message-ID: 20120224145457.79c4dcd16cdafabf7234a9f8@4c-ag.de (view raw or flat)
Thread:
Lists: pgsql-admin
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

Responses

pgsql-admin by date

Next:From: Igor NeymanDate: 2012-02-24 20:51:51
Subject: Re: logfile per DataBase
Previous:From: Fred ParkinsonDate: 2012-02-23 20:22:52
Subject: Re: Can't query the sequence table of a serial primary key.

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group