diff rhodecode/lib/__init__.py @ 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 1f47adeb67c2
children 66f03a87141c
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)