Is there any way to configure logging on an engine instance after the engine
has been instantiated?

it looks to me as if the engine init checks the module logger status and
sets a couple of flags "_should_log_info" and "_should_log_debug". (I'm
guessing these are there to keep the logging function call count down).

The issue is that there seems to be no way to make the engine instance
re-evaluate those flags, with the end effect being that once the engine is
instantiated, calling logging.getLogger('sqlalchemy.engine').setLevel(whatever)
has no effect.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to sqlalchemy@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to