gump-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject svn commit: r991430 - /gump/trunk/python/gump/util/mysql.py
Date Wed, 01 Sep 2010 04:18:17 GMT
Author: bodewig
Date: Wed Sep  1 04:18:16 2010
New Revision: 991430

URL: http://svn.apache.org/viewvc?rev=991430&view=rev
Log:
Make database logging more verbose - tweaking gump.log.config didn't work

Modified:
    gump/trunk/python/gump/util/mysql.py

Modified: gump/trunk/python/gump/util/mysql.py
URL: http://svn.apache.org/viewvc/gump/trunk/python/gump/util/mysql.py?rev=991430&r1=991429&r2=991430&view=diff
==============================================================================
--- gump/trunk/python/gump/util/mysql.py (original)
+++ gump/trunk/python/gump/util/mysql.py Wed Sep  1 04:18:16 2010
@@ -153,9 +153,9 @@ class DbHelper:
         try:
             try:
                 cursor = self.conn.cursor()
-                log.debug('SQL: ' + statement)
+                log.info('SQL: ' + statement)
                 affected = cursor.execute(statement)
-                log.debug('SQL affected: ' + `affected`)
+                log.info('SQL affected: ' + `affected`)
 
                 if affected > 0: # might be nothing in db yet
                     row = cursor.fetchall()[0] # Ought be only one...
@@ -222,9 +222,9 @@ class DbHelper:
         try:
             try:
                 cursor = self.conn.cursor()
-                log.debug('SQL: ' + statement)
+                log.info('SQL: ' + statement)
                 affected = cursor.execute(statement)
-                log.debug('SQL Affected: ' + `affected`)
+                log.info('SQL Affected: ' + `affected`)
             except Exception, details:
                 if cursor:
                     self.logWarnings(cursor)
@@ -263,9 +263,9 @@ class DbHelper:
         try:
             try:
                 cursor = self.conn.cursor()
-                log.debug('SQL: ' + statement)
+                log.info('SQL: ' + statement)
                 affected = cursor.execute(statement)
-                log.debug('SQL Affected: ' + `affected`)
+                log.info('SQL Affected: ' + `affected`)
             except Exception, details:
                 if cursor:
                     self.logWarnings(cursor)
@@ -300,9 +300,9 @@ class DbHelper:
         try:
             try:
                 cursor = self.conn.cursor()
-                log.debug('SQL: ' + statement)
+                log.info('SQL: ' + statement)
                 affected = cursor.execute(statement)
-                log.debug('SQL Affected: ' + `affected`)
+                log.info('SQL Affected: ' + `affected`)
             except Exception, details:
                 if cursor:
                     self.logWarnings(cursor)



Mime
View raw message