Don't make mandatory to have a metrics file

This commit is contained in:
Mario de Frutos 2016-11-11 11:48:08 +01:00
parent b5f4c507b3
commit d1b17da70b

View File

@ -100,7 +100,7 @@ class MapzenGeocoderConfigBuilder(object):
period_end_date = date_parse(period_end_date_str)
logger_conf = self._server_conf.get('logger_conf')
log_path = logger_conf['geocoder_log_path']
log_path = logger_conf.get('geocoder_log_path', None)
return MapzenGeocoderConfig(geocoding_quota,
soft_geocoding_limit,