From: Vladimir Rusinov <vladimir@greenmice.info>
To: Martin A. Brooks <martin@antibodymx.net>
Cc: pgsql-admin@postgresql.org
Subject: Re: postgres seems to ignore log_min_duration_statement
Date: Tue, 14 Oct 2008 15:41:45 +0400
Message-ID: <f6fdfb550810140441y75db39f3l7aea87cce27cc37f@mail.gmail.com> (raw)
In-Reply-To: <48F46514.1070203@antibodymx.net>
References: <48F46514.1070203@antibodymx.net>
On Tue, Oct 14, 2008 at 1:23 PM, Martin A. Brooks <martin@antibodymx.net>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:
>
> root@martin-desktop:/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 instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: vladimir@greenmice.info, martin@antibodymx.net
Subject: Re: postgres seems to ignore log_min_duration_statement
In-Reply-To: <f6fdfb550810140441y75db39f3l7aea87cce27cc37f@mail.gmail.com>
* 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