Re: Unwanted debug messages
От | Wenceslao Grillo |
---|---|
Тема | Re: Unwanted debug messages |
Дата | |
Msg-id | 52010CA4.8070807@leandergames.com обсуждение исходный текст |
Ответ на | Re: Unwanted debug messages (Adrian Klaver <adrian.klaver@gmail.com>) |
Список | psycopg |
Thanks Adrian. Well, I guess I should file a feature request with the psycopg2 team then... because all the work-arounds I can think of for this problem are really ugly... Cheers: Wences On 06/08/2013 10:34, Adrian Klaver wrote: > 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) >> >> > >
В списке psycopg по дате отправления: