Version 4.5.4 of mod_wsgi can be obtained from:
When using Apache 2.4 and daemon mode, the connection and request log IDs from the Apache child worker processes were not being copied across to the daemon process so that log messages generated against the request would use the same ID in logs when using the
When using Apache 2.4 and daemon mode, the remote client port information was not being cached such that log messages generated against the request would use the port in logs when using the
sys.stderrare used in the context of the thread handling a request, calls against them to log messages will be routed back via
wsgi.errorsfrom the per request WSGI
environdictionary. This avoids the danger of logged messages from different request handlers being intermixed as buffering will now be done on a per request basis. Such messages will also be logged with the correct connection and request log ID if the
%Lformatter is used in the error log format.
Added new option
mod_wsgi-expressto allow the error log message format to be specified.
Pass through to the WSGI per request
environdictionary new values for
mod_wsgi.request_id. These are the Apache log IDs for the connection and request that it uses in log messages when using the
%Lformat modifier. This only applies to Apache 2.4 and later.