Can Log filename include database name?

From: Francisco Reyes <lists(at)stringsutils(dot)com>
To: PostgreSQL general <pgsql-general(at)postgresql(dot)org>
Subject: Can Log filename include database name?
Date: 2006-07-07 15:15:03
Message-ID: cone.1152285303.287322.18477.1000@zoraida.natserv.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I am currently using a log with the file name format:
log_filename = 'postgresql-%Y-%m.log'

Is there any way to change the filename do start witht he database name?

For now just added to add the database name to each line, but it would be
usefull to have each DB written to it's own file. Or even better to be able
to specify on a per database basis whether to log or not.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Martijn van Oosterhout 2006-07-07 15:15:11 Re: Need help with quote escaping in exim for postgresql
Previous Message Kenneth Downs 2006-07-07 14:58:25 Re: Version/Change Management of functions?