Version 2 (modified by simon, 15 years ago) ( diff )

notes on logging from concurrent proccesses

Integrating Python's standard library logging module with Django

Mailing list proposal and discussion: http://groups.google.com/group/django-developers/browse_thread/thread/8551ecdb7412ab22

Python Logging 101: http://plumberjack.blogspot.com/2009/09/python-logging-101.html

Current code: http://github.com/simonw/django/tree/logging

Logging from concurrent processes

If you're running logging within something like mod_wsgi or mod_python you can't just log straight to a file due to the need to handle multiple processes. Under mod_wsgi logging to stderr will cause log messages to end up in the Apache error log. If that's not good enough for you, consider the following options for logging from concurrent processes:

Note: See TracWiki for help on using the wiki.
Back to Top