Re: SQL logging (log_min_duration_statement) not working properly

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Pallav Kalva <pkalva(at)deg(dot)cc>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: SQL logging (log_min_duration_statement) not working properly
Date: 2005-05-18 15:18:08
Message-ID: 21996.1116429488@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Pallav Kalva <pkalva(at)deg(dot)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

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Pallav Kalva 2005-05-18 15:25:16 Re: SQL logging (log_min_duration_statement) not working
Previous Message Pallav Kalva 2005-05-18 14:49:31 Re: SQL logging (log_min_duration_statement) not working