1. Oliver Tonnhofer
  2. mapproxy
  3. Issues
Issue #25 resolved

Bug in log.ini line17 MapProxy 1.1.2

Greg Corradini
created an issue

I'm using MapProxy 1.1.2 with mod_wsgi and Python2.6.

Uncommenting the logger in conf.py creates an error in apache2 error logs: {{{

!bash

[Wed Jul 13 13:49:14 2011] [error] [client 208.54.38.160] File "/usr/lib/python2.6/ConfigParser.py", line 337, in _get [Wed Jul 13 13:49:14 2011] [error] [client 208.54.38.160] return conv(self.get(section, option)) [Wed Jul 13 13:49:14 2011] [error] [client 208.54.38.160] ValueError: invalid literal for int() with base 10: '0 # do not show up in logger_root' }}} Seems line 17 (propagate=0 # do not show up in logger_root) is being completely parsed as the propagate value: {{{

!python

[logger_source_requests] level=INFO qualname=mapproxy.source.request propagate=0 # do not show up in logger_root handlers=source_requests }}} I removed the comment and everything worked fine

Comments (2)

  1. Log in to comment