Skip to content
This repository has been archived by the owner on Mar 1, 2021. It is now read-only.

Running matching web in debug mode with logging #142

Open
nunomrc opened this issue Nov 27, 2018 · 0 comments
Open

Running matching web in debug mode with logging #142

nunomrc opened this issue Nov 27, 2018 · 0 comments

Comments

@nunomrc
Copy link

nunomrc commented Nov 27, 2018

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!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant