Logging re-initialized in make_app()

Wolfgang Scherer Wolfgang.Scherer at gmx.de
Wed Dec 4 00:36:59 UTC 2019


When following the instructions for WSGI dispatch at https://kallithea.readthedocs.io/en/latest/setup.html#apache-with-mod-wsgi any attempt to pass defaults to the logging initialization fails later, when logging is initialized again in :func:`make_app` of |kallithea/config/middleware.py|.

See http://sw-amt.ws/kallithea-deploy/html/overview.html#bug-logging-re-initialized-in-make-app for a full description of the bug.

Attached is a patch, that works for me.

Wolfgang Scherer


-------------- next part --------------
A non-text attachment was scrubbed...
Name: middleware-logging.patch
Type: text/x-patch
Size: 873 bytes
Desc: not available
URL: <http://lists.sfconservancy.org/pipermail/kallithea-general/attachments/20191204/3f38ae05/attachment.bin>


More information about the kallithea-general mailing list