graphhopper / map-matching

The map matching functionality is now located in the main repository https://github.com/graphhopper/graphhopper#map-matching
https://www.graphhopper.com/open-source/
Apache License 2.0
785 stars 273 forks source link

src/main/resources/log4j.xml overriding client log configuration #27

Closed SausagePie closed 6 years ago

SausagePie commented 9 years ago

The src/main/resources/log4j.xml is interfering with my own logging configuration. Suggest that you move your log4j.xml to src/test/resources.

Log4j attempts to load log4j.xml first, and then log4j.properties, using the first it finds on the classpath.

I have my own logging configuration (log4j.properties). Your log4j.xml is being picked up instead.

I can workaround it, but this is something you might like to clean up.

Some related discussion: http://stackoverflow.com/questions/10890505/multiple-log4j-properties-files-in-classpath?rq=1

karussell commented 9 years ago

Okay, related to https://github.com/graphhopper/graphhopper/issues/250

devemux86 commented 8 years ago

I'd vote for that too.

Also somehow related to graphhopper/graphhopper#494.

karussell commented 6 years ago

Will be fixed with https://github.com/graphhopper/graphhopper/pull/1334