From: Pallav Kalva <pkalva@deg.cc>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-admin@postgresql.org
Subject: Re: SQL logging (log_min_duration_statement) not working
Date: Wed, 18 May 2005 11:25:16 -0400
Message-ID: <428B5E5C.2020400@deg.cc> (raw)
In-Reply-To: <21996.1116429488@sss.pgh.pa.us>
References: <428B4487.8010702@deg.cc>
<21996.1116429488@sss.pgh.pa.us>
Tom Lane wrote:
>Pallav Kalva <pkalva@deg.cc> writes:
>
>
>> I am having problems with logging long running SQL in the log file.
>>I have set log_min_duration_statement = 5000 (5secs) and it is not
>>logging sql statements that took over 5 secs and this is only from
>>queries generated by Hibernate .
>>
>>
>
>Did you set log_min_duration_statement in a way that would actually
>affect Hibernate (ie, change postgresql.conf and sighup the postmaster)?
>
> regards, tom lane
>
>
>
I changed the log_min_duration_statement from 60000 to 5000 and then
ran --> pg_ctl reload -D <data cluster location> and then i ran the
queries from hibernate. These are the only things which I did on the
postgres side.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: pkalva@deg.cc, tgl@sss.pgh.pa.us
Subject: Re: SQL logging (log_min_duration_statement) not working
In-Reply-To: <428B5E5C.2020400@deg.cc>
References: <428B4487.8010702@deg.cc> <21996.1116429488@sss.pgh.pa.us> <428B5E5C.2020400@deg.cc>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox