1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44
|
=============
Version 4.5.4
=============
Version 4.5.4 of mod_wsgi can be obtained from:
https://codeload.github.com/GrahamDumpleton/mod_wsgi/tar.gz/4.5.4
Bugs Fixed
----------
1. 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 ``%L`` format modifier.
2. 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 ``%a``
format modifier.
Features Changed
----------------
1. If ``sys.stdout`` and ``sys.stderr`` are used in the context of the
thread handling a request, calls against them to log messages will be
routed back via ``wsgi.errors`` from the per request WSGI ``environ``
dictionary. 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 ``%L`` formatter is used in the
error log format.
New Features
------------
1. Added new option ``--error-log-format`` to ``mod_wsgi-express`` to allow
the error log message format to be specified.
2. Pass through to the WSGI per request ``environ`` dictionary new values
for ``mod_wsgi.connection_id`` and ``mod_wsgi.request_id``. These are
the Apache log IDs for the connection and request that it uses in log
messages when using the ``%L`` format modifier. This only applies to
Apache 2.4 and later.
|