Ok you have to take all the "echo='debug'" and stuff out if you are
using logger (perhaps I should change my decision of "echo" and
"logging" being coupled...since i can see how this is going to go when
i release....)

if you want to log SQL with logging, its like this:

import logging
<set up logging config, i.e. logging.basicConfig() or whatever>
logging.getLogger('sqlalchemy.engine').setLevel(logging.INFO)

i would still very much like to see your logging setup where SA is
managing to conflict with it, since it really shouldnt.

metaperl wrote:
> Michael Bayer wrote:
>
> >
> > make sure that you dont have any "echo=True" keywords anywhere within
> > your SQLAlchemy setup, since that is what makes it  try to configure
> > logging on its own.
>
> echo is set to debug. What do I do to allow SA logging output to be
> interspered with my own logging output?
>
>
>         self.engine =
> create_engine("mssql://pxe62:[EMAIL PROTECTED]:1433/DTA", echo='debug',
> encoding='utf-16')


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

Reply via email to