lower noise due to alchemy session -> debug instead of info
Thierry Parmentelat [Tue, 14 Apr 2015 10:32:13 +0000 (12:32 +0200)]
sfa/storage/alchemy.py

index 84c987f..138d3a4 100644 (file)
@@ -53,12 +53,12 @@ class Alchemy:
         if self._session is None:
             Session=sessionmaker ()
             self._session=Session(bind=self.engine)
-            logger.info('alchemy.global_session created session %s'%self._session)
+            logger.debug('alchemy.global_session created session %s'%self._session)
         return self._session
 
     def close_global_session (self):
         if self._session is None: return
-        logger.info('alchemy.close_global_session %s'%self._session)
+        logger.debug('alchemy.close_global_session %s'%self._session)
         self._session.close()
         self._session=None