Re: ThreadedConnectionPool and Cherrypy

Joe Abbate <jma-ICVE9uepxrQgpMukQH3QewC/[email protected]> Fri, 25 Jun 2010 04:47:12 -0400
Newsgroups gmane.comp.python.db.psycopg.devel
Message-ID <[email protected]>
Hi Federico,

On 06/25/2010 04:04 AM, Federico Di Gregorio wrote:
>
> 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?
>    

If I comment out the logging.basicConfig() in pool.py, the duplicate 
INFO-level log lines go away.

Joe