> -----Original Message-----
> From: Lutz Steinborn [mailto:l(dot)steinborn(at)4c-ag(dot)de]
> Sent: Friday, February 24, 2012 8:55 AM
> To: pgsql-admin(at)postgresql(dot)org
> Subject: logfile per DataBase
> 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
No, it is not possible.
But, inside log file you can use %d for "log_line_prefix" to specify
which db emitted particular line.
In response to
pgsql-admin by date
|Next:||From: Brian Weaver||Date: 2012-02-24 22:30:58|
|Subject: Problems with pg_restore (plpgsql already exists)|
|Previous:||From: Lutz Steinborn||Date: 2012-02-24 13:54:57|
|Subject: logfile per DataBase|