Mercurial > kallithea
diff development.ini @ 8086:488b52cad890 stable
logging: always invoke fileConfig with '__file__' and 'here'
WSGI servers tend to provide '__file__' and 'here' as 'defaults' when invoking
fileConfig, so '%(here)s' string interpolation also can be used in logging
configuration.
Make sure we do the same when we initialize logging without using a WSGI server.
It is annoying to have to do this, and it will only in rare cases make any
difference ... but it seems like the best option.
Patch also modified by Mads Kiilerich.
author | Wolfgang Scherer <Wolfgang.Scherer@gmx.de> |
---|---|
date | Sun, 29 Dec 2019 17:35:13 +0100 |
parents | 3ea66ef563f2 |
children | 7c7d6b5c07c7 |