diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2010-11-20 16:28:39 -0500 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2010-11-20 16:28:39 -0500 |
commit | ca2d85540f21f2afaa9def55b8f907adced62e80 (patch) | |
tree | d38d1d2a5ca710819f0e82115a21e93192e7e9e4 /lib/sqlalchemy/engine | |
parent | 3906eed72bb1372e70977092d4900459a97d8e74 (diff) | |
parent | ccf77190f986095834220ece160992e224dcc587 (diff) | |
download | sqlalchemy-ca2d85540f21f2afaa9def55b8f907adced62e80.tar.gz |
- logging has been overhauled such that engines no longer need to encode the
"hex id" string in their logging name in order to maintain separate loggers
per engine. thanks to Vinay Sajip for assistance. merge of [ticket:1926]
Diffstat (limited to 'lib/sqlalchemy/engine')
-rw-r--r-- | lib/sqlalchemy/engine/base.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sqlalchemy/engine/base.py b/lib/sqlalchemy/engine/base.py index 326c33f2d..c07c83a07 100644 --- a/lib/sqlalchemy/engine/base.py +++ b/lib/sqlalchemy/engine/base.py @@ -1624,7 +1624,7 @@ class Engine(Connectable, log.Identified): self.logging_name = logging_name self.echo = echo self.engine = self - self.logger = log.instance_logger(self, echoflag=echo) + log.instance_logger(self, echoflag=echo) if proxy: # util.warn_deprecated("The 'proxy' argument to create_engine() is deprecated. Use event.listen().") interfaces.ConnectionProxy._adapt_listener(self, proxy) |