Re: [martin@bugs.unl.edu.ar: BUG in logs]

From: "Guillaume Smet" <guillaume(dot)smet(at)gmail(dot)com>
To: Bugs <pgsql-bugs(at)postgresql(dot)org>
Cc: martin(at)bugs(dot)unl(dot)edu(dot)ar
Subject: Re: [martin@bugs.unl.edu.ar: BUG in logs]
Date: 2006-04-11 21:51:51
Message-ID: 1d4e0c10604111451i293af76dlea5c2009785dfb8b@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

> From: Martin Marques <martin(at)bugs(dot)unl(dot)edu(dot)ar>
> I encountered a rare BUG in the way PG is logging. Let me first enlight with some configuration I have and PG version:

Perhaps I'm missing something but I think it's not a bug but a
configuration problem.

> log_min_error_statement | panic

If you set this one to error instead of panic, you will have your
failed statements logged.

> log_statement | all

This one only logs successful queries so it's normal you don't have
the statement in the log file if it fails.

Regards,

--
Guillaume

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Martin Marques 2006-04-11 22:18:24 Re: [martin@bugs.unl.edu.ar: BUG in logs]
Previous Message Alvaro Herrera 2006-04-11 21:07:50 [martin@bugs.unl.edu.ar: BUG in logs]