Re: Unwanted debug messages
| От | Joe Abbate | 
|---|---|
| Тема | Re: Unwanted debug messages | 
| Дата | |
| Msg-id | 51FFF181.9080705@freedomcircle.com обсуждение исходный текст | 
| Ответ на | Unwanted debug messages (Wenceslao Grillo <wenceslao@leandergames.com>) | 
| Ответы | Re: Unwanted debug messages | 
| Список | 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
		
	В списке psycopg по дате отправления: