On Tue, Oct 14, 2008 at 1:23 PM, Martin A. Brooks <[EMAIL PROTECTED]>wrote:

> Hi
>
> I want to have postgres log sql statements that take longer than 5 seconds
> to execute.  In postgresql.conf I have set log_min_duration_statement as
> follows:
>
> [EMAIL PROTECTED]:/etc/postgresql/8.3/main# grep log_min_duration
> postgresql.conf
> log_min_duration_statement = 5000       # -1 is disabled, 0 logs all
> statements



May be you have log_min_messages = debug?
Please, show full logging section.


-- 
Vladimir Rusinov
http://greenmice.info/

Reply via email to