pgtoolkit/pgmanager.py
changeset 75 39f777341db4
parent 71 4251068a251a
child 77 2cfef775f518
--- a/pgtoolkit/pgmanager.py	Thu Mar 07 15:42:47 2013 +0100
+++ b/pgtoolkit/pgmanager.py	Thu Mar 07 18:26:52 2013 +0100
@@ -83,6 +83,8 @@
 
 log_sql = logging.getLogger("pgmanager_sql")
 log_notices = logging.getLogger("pgmanager_notices")
+log_sql.addHandler(logging.NullHandler())
+# NullHandler not needed for notices which are INFO level only
 
 
 class PgManagerError(Exception):