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: (view raw, whole thread or download thread mbox)
Lists: pgsql-admin

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



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-2017 The PostgreSQL Global Development Group