Changes between Version 1 and Version 2 of LoggingProposal


Ignore:
Timestamp:
10/10/2009 07:29:18 PM (6 years ago)
Author:
simon
Comment:

notes on logging from concurrent proccesses

Legend:

Unmodified
Added
Removed
Modified
  • LoggingProposal

    v1 v2  
    66
    77Current code: http://github.com/simonw/django/tree/logging
     8
     9== Logging from concurrent processes ==
     10
     11If 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/
Back to Top