On Feb 24, 2009, at 4:52 PM, Mike Orr wrote:

>
> The default level is set to INFO, while the application level is DEBUG
> (for all modules in the application package).  This can lead to debug
> messages from other modules not showing up.  When I'm doing ad-hoc
> debugging, sometimes I log messages as warn or error to avoid having
> to change the configuration.
>

That's the intention, I think root at DEBUG by default is too chatty  
for most people. Most probably don't care to see all of the Pylons'  
internal debug logging by default, for example. SQLAlchemy is super  
chatty on DEBUG too.

It's super easy to switch during development though, --reload also  
monitors development.ini for changes.

> If you make a new config file via paster, its default level is INFO
> throughout.  I change that to WARN for production.ini.


Yea, WARN would be more appropriate for prod. Let's change it

--
Philip Jenvey


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to