pgtoolkit/toolbase.py
changeset 29 8636719a30f6
parent 20 73f0d53fef6b
child 30 a8b7cd92f39f
--- a/pgtoolkit/toolbase.py	Tue Feb 07 11:32:07 2012 +0100
+++ b/pgtoolkit/toolbase.py	Tue Feb 14 18:15:56 2012 +0100
@@ -43,8 +43,9 @@
             handler = logging.StreamHandler()
             handler.setFormatter(format)
             handler.setLevel(logging.DEBUG)
-            logger = logging.getLogger('pgmanager')
+            logger = logging.getLogger('pgmanager_sql')
             logger.addHandler(handler)
+            logger.setLevel(logging.DEBUG)
 
     def prepare_conn_from_metadb(self, name, lookup_name):
         '''Create connection in pgmanager using meta DB.