<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=iso-8859-1"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
span.E-MailFormatvorlage17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=DE link="#0563C1" vlink="#954F72" style='word-wrap:break-word'><div class=WordSection1><p class=MsoNormal>Hi all,<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I'm new to working with MapProxy (1.14) and after some initial difficulties I got it working under Ubuntu with Apache.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>One problem I have is with the activation of logging. I know the documentation [1]. But I do not understand the syntax in config.py:<o:p></o:p></p><p class=MsoNormal>"# import os.path<o:p></o:p></p><p class=MsoNormal> # fileConfig(r'/data/mapproxy/demo/log.ini', {'here': os.path.dirname(__file__)})"<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>By "os.path" is meant a path specification - right?<o:p></o:p></p><p class=MsoNormal>But how must the specification of " {'here': os.path.dirname(__file__)})"" look like?<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Unfortunately, my English is very bad, so the docs are of limited help.<o:p></o:p></p><p class=MsoNormal>Can someone give me a hint (example)?<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>best regards<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Günter<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>[1] https://mapproxy.org/docs/1.13.1/deployment.html?highlight=logging#logging<o:p></o:p></p></div></body></html>