Received: from magus.postgresql.org (magus.postgresql.org [87.238.57.229]) by mail.postgresql.org (Postfix) with ESMTP id F0166174E989 for ; Fri, 24 Feb 2012 09:55:19 -0400 (AST) Received: from mo-p00-ob6.rzone.de ([2a01:238:20a:202:53f0::1]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1S0vcD-0008N1-7Q for pgsql-admin@postgresql.org; Fri, 24 Feb 2012 13:55:18 +0000 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; t=1330091704; l=311; s=domk; d=4c-ag.de; h=Content-Transfer-Encoding:Content-Type:Mime-Version:Subject:To:From: Date:X-RZG-CLASS-ID:X-RZG-AUTH; bh=cRvPsi4yTq0Jr4p7shU0xAlSP8k=; b=yqlBDV9gqDSIOPkERy9EZxe1Tdtt3Yzv1H6bcwHZZTlxioA0iCVMKPcNs/tQXX2C6I4 QpWzMYnRkoj1c+94xaE8x+R2wS6XInCTzbLJnz4IBlanXn8S6xM+xlQnEZrd6AMLzwzHr B1CsQTfCnLo3qIgNTGZ7RIBaCU8Z21+E+6E= X-RZG-AUTH: :ICIXYUWhdf07X6m/b2XtAlrlJW5vzQNIp+WDp5lRVhY+t6aUnPIJXe8PkVB2drC14w== X-RZG-CLASS-ID: mo00 Received: from hadrian (p57B04F95.dip.t-dialin.net [87.176.79.149]) by smtp.strato.de (cohen mo6) (RZmta 27.7 DYNA|AUTH) with ESMTPA id z04efco1OCqGhE for ; Fri, 24 Feb 2012 14:54:57 +0100 (MET) Date: Fri, 24 Feb 2012 14:54:57 +0100 From: Lutz Steinborn To: pgsql-admin@postgresql.org Subject: logfile per DataBase Message-Id: <20120224145457.79c4dcd16cdafabf7234a9f8@4c-ag.de> Organization: 4c AG X-Mailer: Sylpheed 3.2.0beta5 (GTK+ 2.24.9; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: 0.7 (/) X-Archive-Number: 201202/98 X-Sequence-Number: 39158 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