Re: ThreadedConnectionPool and Cherrypy

Federico Di Gregorio <fog-NGVKUo/i/[email protected]> Fri, 25 Jun 2010 10:04:51 +0200
Newsgroups gmane.comp.python.db.psycopg.devel
Message-ID <[email protected]>
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--===============2412832641179755149==
Content-Type: multipart/signed; micalg=pgp-sha1;
 protocol="application/pgp-signature";
 boundary="------------enigA16270986D81F0A2DE2BBD1A"

This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enigA16270986D81F0A2DE2BBD1A
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On 25/06/2010 03:45, Joe Abbate wrote:
> [24/Jun/2010:21:38:58] ENGINE Bus STARTING
> 2010-06-24 21:38:58,900 INFO [24/Jun/2010:21:38:58] ENGINE Bus STARTING=

> [24/Jun/2010:21:38:59] ENGINE Serving on 127.0.0.1:8085
> 2010-06-24 21:38:59,105 INFO [24/Jun/2010:21:38:59] ENGINE Serving on
> 127.0.0.1:8085
> [24/Jun/2010:21:38:59] ENGINE Creating the SQL database engine
> 2010-06-24 21:38:59,106 INFO [24/Jun/2010:21:38:59] ENGINE Creating the=

> SQL database engine
>=20
> Not a big deal, but as I said it's annoying.  I'm wondering if there is=

> some way to turn off psycopg2's logging.

psycopg should not initialize the logging module if already initialized.
I supposed logging.basicConfig() would take care of that but it doesn't
seems so. Can you please comment that line in pool.py an tell us what
happens?

federico

--=20
Federico Di Gregorio                                       fog-NGVKUo/i/[email protected]
 A desobedi=C3=AAncia =C3=A9 uma virtude necess=C3=A1ria =C3=A0 criativid=
ade. -- Raul Seixas


--------------enigA16270986D81F0A2DE2BBD1A
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkwkYzAACgkQvcCgrgZGjevNmwCfaGi16HITuF3PnhnWv1nfYgpn
6csAoLk/Q0BwVm+floslHWZF+3iipxmm
=H/4a
-----END PGP SIGNATURE-----

--------------enigA16270986D81F0A2DE2BBD1A--

--===============2412832641179755149==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Psycopg mailing list
Psycopg-IAPFreCvJWPBWskQ1e/[email protected]
http://lists.initd.org/mailman/listinfo/psycopg

--===============2412832641179755149==--