Changes between Version 1 and Version 2 of LoggingProposal
- Timestamp:
- Oct 10, 2009, 7:29:18 PM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
LoggingProposal
v1 v2 6 6 7 7 Current code: http://github.com/simonw/django/tree/logging 8 9 == Logging from concurrent processes == 10 11 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: 12 13 * Using SocketServer: http://www.huyng.com/archives/418 14 * Using file locking: http://pypi.python.org/pypi/ConcurrentLogHandler/