On 21/07/2013 07:34, Paul McNett wrote:
On 7/20/13 9:48 PM, Werner F. Bruhin wrote:
One last question on that, how does one suppress INFO messages to show?
I created a "settings_override.py" and changed all levels to be "logging.ERROR"
but
they still show on stdout in my py2exe'd version.
Are you sure you are bundling the settings_override.py? Put a print statement or
something that will cause an exception in it (for instance, 1/0) to make double
sure.
It is bundled but I still see these two logs.
Digging a bit more I found it.
In dabo.__init__.py on line 93 I had:
log.setLevel(logging.DEBUG)
Changing it to worked for me:
log.setLevel(logging.ERROR)
Shouldn't that level be picked up from settings.py?
Werner
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/[email protected]