The log level seems to be set to DEBUG by default. During import, the log is flooded with messages like this:
12:26:29.478 [main] DEBUG com.graphhopper.reader.osm.WaySegmentParser - OSM node 10629475875 at 49.6156434,11.1209882 is a barrier node at a junction. The barrier will be ignored
I would like to set the log level for this compent to INFO, but I can’t figure out how to achieve this. I am configuring everything from Java, so I do not have a config file and a code based method would be preferred. I already tried creating some config files, following instructions in forum posts and in the logback manual, but they had no effect. The latest similar forum post I found is from 2018, so the advice might also be outdated.
Can anyone give me an example on how the get the WaySegmentParser adjusted?