[sqlalchemy] Re: Logger problem

2008-07-22 Thread Michael Bayer
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.

[sqlalchemy] Re: Logger problem

2008-07-22 Thread Alen Ribic
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 Thanks for the ref Michael. That will work perfectly. -Al --~--~-~--~~~---~--~~ You