Bug in log.ini line17 MapProxy 1.1.2

Issue #25 resolved
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: {{{


[Wed Jul 13 13:49:14 2011] [error] [client] File "/usr/lib/python2.6/ConfigParser.py", line 337, in _get [Wed Jul 13 13:49:14 2011] [error] [client] return conv(self.get(section, option)) [Wed Jul 13 13:49:14 2011] [error] [client] 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: {{{


[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