changeset 1362:4c9bd42f82f9 beta

timerproxy will use the same logger as sqlalchemy, in order to be controlled by sqlalchemy logger settings
author Marcin Kuzminski <marcin@python-works.com>
date Sat, 04 Jun 2011 22:59:05 +0200
parents 87ca17540603
children 923d2f699bd7
files rhodecode/lib/__init__.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/rhodecode/lib/__init__.py	Sat Jun 04 22:57:22 2011 +0200
+++ b/rhodecode/lib/__init__.py	Sat Jun 04 22:59:05 2011 +0200
@@ -185,7 +185,7 @@
         from sqlalchemy import event
         from sqlalchemy.engine import Engine
 
-        log = logging.getLogger('timerproxy')
+        log = logging.getLogger('sqlalchemy.engine')
         BLACK, RED, GREEN, YELLOW, BLUE, MAGENTA, CYAN, WHITE = xrange(30, 38)
         engine = efc(configuration, prefix, **kwargs)