Hi, I'm using SQLA 0.5.0rc2 and am running into a problem. I've got a piece of code like this: import sys import logging import sqlalchemy as sa from sqlalchemy.orm import sessionmaker
logging.basicConfig(stream=sys.stderr) logging.getLogger('sqlalchemy.pool').setLevel(logging.ERROR) engine = sa.create_engine(.....) logging.getLogger('sqlalchemy.pool').setLevel(logging.INFO) In the example above I won't see any INFO log messages. However, if you change the first setLevel from logging.ERROR to logging.INFO you _do_ get INFO log messages. It looks like you have to specify a loglevel below logging.WARN *before* creating the engine. Otherwise I can't get any logging to work. Maybe it's my lack of understanding the logging module, but does someone know what is going on? Regards, Ids --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---