Items marked DONE above aren't necessarily of production quality yet, but there's enough working code to see how they would look.

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: