[source] log attempt to reconnect using warning level. Also, don't relog failed sql (already logged)
--- a/server/sources/native.py Wed Mar 31 12:33:47 2010 +0200
+++ b/server/sources/native.py Wed Mar 31 12:51:35 2010 +0200
@@ -410,7 +410,7 @@
cursor = self.doexec(session, sql, args)
except (self.OperationalError, self.InterfaceError):
# FIXME: better detection of deconnection pb
- self.info("request failed '%s' ... retry with a new cursor", sql)
+ self.warning("trying to reconnect")
session.pool.reconnect(self)
cursor = self.doexec(session, sql, args)
results = self.process_result(cursor, cbs)