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 274 forks source link

Running matching web in debug mode with logging #142

Open nunomrc opened 5 years ago

nunomrc commented 5 years ago

Hi,

I'm trying to run the app to match GPX data with a pre imported graph and need to check the debug messages. I removed the test scope from the Logback dependency in the pom file. I added a config file that I know it is read correctly, as per the messages that I see when setting debug="true" in the Logback config file.

But I'm struggling to start seeing some messages from the class com.graphhopper.matching.MapMatching. What am I missing, any clues here?

Here is the initialisation output:

22:31:44,779 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback-test.xml]
22:31:44,779 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback.groovy]
22:31:44,779 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Found resource [logback.xml] at [jar:file:/Users/nuno/code/map-matching/matching-web/target/graphhopper-map-matching-web-0.12-SNAPSHOT.jar!/logback.xml]
22:31:44,788 |-INFO in ch.qos.logback.core.joran.spi.ConfigurationWatchList@12f40c25 - URL [jar:file:/Users/nuno/code/map-matching/matching-web/target/graphhopper-map-matching-web-0.12-SNAPSHOT.jar!/logback.xml] is not of type file
22:31:44,835 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.ConsoleAppender]
22:31:44,837 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [STDOUT]
22:31:44,840 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property
22:31:44,854 |-INFO in ch.qos.logback.classic.joran.action.RootLoggerAction - Setting level of ROOT logger to DEBUG
22:31:44,855 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [STDOUT] to Logger[ROOT]
22:31:44,855 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - End of configuration.

Thanks!