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

Re: Change in logging behaviour between 8.1 and 8.2

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Alexander Stanier <alexander(dot)stanier(at)egsgroup(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Change in logging behaviour between 8.1 and 8.2
Date: 2008-10-24 23:56:01
Message-ID: 6092.1224892561@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-admin
Alexander Stanier <alexander(dot)stanier(at)egsgroup(dot)com> writes:
> We have the following parameters in our postgresql.conf:
> log_min_duration_statement = 10000
> log_duration = on
> log_statement = 'all'

> In PostgreSQL 8.2, it seems the statement and duration are no longer 
> logged together (i.e. not on the same log line) which means that you 
> can't easily decipher those durations/statements which have been logged 
> by log_duration/log_statement from those that have been logged by 
> log_min_duration_statement. The fact that they were on one line made 
> them very easy to pull out of the logs.

> Was this change intentional?

Yes.  People complained about double logging of the full statement text.

			regards, tom lane

In response to

Responses

pgsql-admin by date

Next:From: Scott MarloweDate: 2008-10-25 02:43:44
Subject: Re: pgadmin not processing scheduled jobs
Previous:From: Robert YoungDate: 2008-10-24 21:00:00
Subject: Re: pgadmin not processing scheduled jobs

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