From: | Adrian Klaver <adrian(dot)klaver(at)gmail(dot)com> |
---|---|
To: | Joe Abbate <jma(at)freedomcircle(dot)com> |
Cc: | psycopg(at)postgresql(dot)org |
Subject: | Re: Unwanted debug messages |
Date: | 2013-08-06 13:34:45 |
Message-ID: | 5200FB75.5080405@gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | psycopg |
On 08/06/2013 06:25 AM, Joe Abbate wrote:
> Hola Wences,
>
> On 06/08/13 09:05, Wenceslao Grillo wrote:
>> thanks for your prompt reply. You are right, I changed the value of
>> client_min_messages in the postgresql.conf file to "error" and the
>> messages stopped appearing.
>> Do you know of any way to prevent those messages from showing in the
>> console even if the server sends them? It's not in every server that I
>> will have that level of privilege.
>
> I think you should check log_destination in postgresql.conf.
That would change the destination of the messages coming from
log_min_messages and still would require that the OP had privileges on
the server. As far as I know it up to the client to deal with
client_min_messages and I do not think psycopg2 has a way of throttling
that.
>
>> Thanks again:
>>
>> Wences
>>
>> PS: If you don't mind, I would like to copy your reply, with due
>> attribution to my question at Stack Overflow, so it might also help others.
>
> I've answered your question on SO myself :-)
>
> Saludos,
>
>
> Joe (otro porteño)
>
>
--
Adrian Klaver
adrian(dot)klaver(at)gmail(dot)com
From | Date | Subject | |
---|---|---|---|
Next Message | Joe Abbate | 2013-08-06 13:55:05 | Re: Unwanted debug messages |
Previous Message | Joe Abbate | 2013-08-06 13:25:47 | Re: Unwanted debug messages |