[MapProxy] Enable logging
G. Wagner, Wagner-IT
info at wagner-it.de
Thu Apr 7 06:59:31 PDT 2022
many thanks Tobias.
this is how it worked.
I had considered rights and owner of the directory. Also the log files (with me mapproxy.log and source-requests.log) must be created and have appropriate owners / rights).
-----Ursprüngliche Nachricht-----
Von: Tobias Wendorff <tobias.wendorff at tu-dortmund.de>
Gesendet: Donnerstag, 7. April 2022 08:57
An: G. Wagner, Wagner-IT <info at wagner-it.de>
Cc: mapproxy at lists.osgeo.org
Betreff: Re: [MapProxy] Enable logging
I guess you need to pass it using a dict:
fileConfig(r'/data/mapproxy/log.ini', {'here': '/data/mapproxy/logfiles'})
And make sure that the directory exists and is writable from the MapProxy user.
Am 06.04.2022 um 09:15 schrieb G. Wagner, Wagner-IT:
> If I want to have the
> logfiles in the subdirectory "logfiles" now, a works:
> fileConfig(r'/data/mapproxy/log.ini', '/data/mapproxy/logfiles')
> unfortunately not. How do I have to specify the path here?
More information about the MapProxy
mailing list