How do I get the Pylons logging to work in 0.9.6?  I tried a few
variations on "import logging;
logging.basicConfig(level=logging.DEBUG)" in environment.py and
middleware.py, but no log output.

"paster serve --log-file=/tmp/log development.ini" redirects the
output but doesn't add any more logging.  '--verbose' doesn't help
either.

However, I do get a few lines when I ctrl-C the server, either with
logging configured or not:

21:20:38,682 INFO  [paste.httpserver.ThreadPool] Shutting down threadpool
21:20:38,687 INFO  [paste.httpserver.ThreadPool] All workers stopped
21:20:38,687 INFO  [paste.httpserver.ThreadPool] Shutting down threadpool
21:20:38,687 INFO  [paste.httpserver.ThreadPool] All workers stopped

-- 
Mike Orr <[EMAIL PROTECTED]>

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