Marcin Kuzminski committed 4c9bd42

timerproxy will use the same logger as sqlalchemy, in order to be controlled by sqlalchemy logger settings

Comments (0)

Files changed (1)


         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)