Mercurial > kallithea
diff docs/setup.rst @ 7497:5e7eb3df806e
install-iis: use logging.config.fileConfig instead of paste.script copy
paste.script.util.logging_config is an old copy of logging.config from
Python 2.5.1 (see [1]). There are no paste-specific details in it.
In other places, we are always using logging.config directly, there is no
reason not to do it in install-iis.
[1] https://bitbucket.org/wilig/pastescript/commits/04d0db6b2f5ab360bdaa5b10511d969a24fde0ec
author | Thomas De Schampheleire <thomas.de_schampheleire@nokia.com> |
---|---|
date | Sat, 29 Dec 2018 22:30:08 +0100 |
parents | b66725ba01ed |
children | ee37a78c6950 |
line wrap: on
line diff
--- a/docs/setup.rst Sat Dec 29 22:09:24 2018 +0100 +++ b/docs/setup.rst Sat Dec 29 22:30:08 2018 +0100 @@ -544,7 +544,7 @@ site.addsitedir("/srv/kallithea/venv/lib/python2.7/site-packages") ini = '/srv/kallithea/my.ini' - from paste.script.util.logging_config import fileConfig + from logging.config import fileConfig fileConfig(ini) from paste.deploy import loadapp application = loadapp('config:' + ini) @@ -560,7 +560,7 @@ os.environ['HOME'] = '/srv/kallithea' ini = '/srv/kallithea/kallithea.ini' - from paste.script.util.logging_config import fileConfig + from logging.config import fileConfig fileConfig(ini) from paste.deploy import loadapp application = loadapp('config:' + ini)