On Sep 6, 2007, at 11:43 PM, Yannick Gingras wrote:

>
>
> Hi,
>   I'm running Pylons 0.9.6 (aka Trans-Neptunian Cucumber) rc3.  The  
> new
> logging configuration is really nice but I can't seem to get log
> messages in the shell that I get with "paster shell".  Logging works
> perfectly fine when I serve my app but when I try to write to a logger
> in the shell I get this error:
>
>>>> markup.log.error("test")
>   No handlers could be found for logger "root"
>
> I can understand that logging to files in the shell might not be what
> I want but all my loggers are configured for the console and getting
> the messages would greatly simplify debugging.
>
> Is there a way to start the logging system in the shell?
>

I've made paster shell setup logging like serve does in trunk. It  
might also be nice to have a --quiet option that disables logging in  
the shell.

--
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