On Wednesday, October 26, 2011 09:21:40 am Ed Leafe wrote:

> > When you have the dbActivityLog directed to the console, you should see
> > all UPDATE, INSERT, SELECT, and DELETE statements.
> 
>       To do this, run your app, and then open up a Command Window. Run these
> commands:
> 
> import logging
> dabo.dbLogConsoleLevel=logging.DEBUG
> [h.setLevel(logging.DEBUG) for h in dabo.dbActivityLog.handlers]
> 
>       This will make sure that every db action is logged to the console.
> 
> 
> 
> -- Ed Leafe

That's nice.  Maybe it should be on the wiki.

Johnf
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: 
http://leafe.com/archives/byMID/[email protected]

Reply via email to