Re: Unwanted debug messages

From: Joe Abbate <jma(at)freedomcircle(dot)com>
To: psycopg(at)postgresql(dot)org
Subject: Re: Unwanted debug messages
Date: 2013-08-05 18:40:01
Message-ID: 51FFF181.9080705@freedomcircle.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: psycopg

On 05/08/13 14:05, Wenceslao Grillo wrote:

> conn = psycopg2.connect(host="42.42.42.42", port=5432,
> database="myDB", user="myUser", password="********")
> if conn is None:
> sys.exit("Connection failed")
> print "Connection successful"
>
> Prints the following:
>
> DEBUG: CommitTransaction
> DEBUG: name: unnamed; blockState: STARTED; state: INPROGR,
> xid/subid/cid: 0/1/0, nestlvl: 1, children:
> Connection successful

Those messages are from Postgres itself. The second one is a DEBUG3
message in the module backend/access/transam/xact.c. I'd look at the
logging settings in your postgresql.conf.

Joe

In response to

Responses

Browse psycopg by date

  From Date Subject
Next Message Wenceslao Grillo 2013-08-06 13:05:57 Re: Unwanted debug messages
Previous Message Wenceslao Grillo 2013-08-05 18:05:34 Unwanted debug messages