On Jul 22, 10:22 am, Alen Ribic [EMAIL PROTECTED] wrote:
To get my cgi app to work, I can either:
1.) set Echo = False or
2.) I comment out the handler lines in log.py above and from there
my own logger directs the SA log to my app's log file.
Both of the above ways do the trick.
Anyone with any idea how to do this in a more cleaner way?
If not, should this perhaps be suggested as change to current SA
source?
dont use echo at all, configure logging through Python logging.
echo corresponds to sqlalchemy.engine/INFO.
http://www.sqlalchemy.org/docs/05/dbengine.html#dbengine_logging
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---