Excellent.  Thank you for the clarification.

Brian

On 1/5/07, Michael Bayer <[EMAIL PROTECTED]> wrote:

i havent gotten around to adding docs for logging to the main
docs...but its using Python's logging module now.  turn off all the
"echo=True" flags and go straight to logging:

import logging
logging.basicConfig()  # see python's logging docs for options
logging.getLogger('sqlalchemy.engine').setLevel(logging.INFO)

the INFO level on 'sqlalchemy.engine' will give you all the queries,
the DEBUG level the queries as well as the result sets.  using
"logging" you can format the log messages any way you want and pass
your own buffers in...just read the docs at
http://www.python.org/doc/2.4.2/lib/module-logging.html .


>


--~--~---------~--~----~------------~-------~--~----~
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