I’ve built a local graphhopper server on my computer and I need to query its routing API multiple times by sending simple GET requests in Python.
In my Python code, I send thousands of requests in a regular old non-paralleled for-loop. It seems, however, that the server gets bogged down during this task because it needs to print lots of information to the terminal. Here is one example of the text that shows up for one of my queries:
INFO [2018-06-18 19:59:55,471] com.graphhopper.resources.RouteResource: point=30.2746319,-97.7403823&point=29.7568321,-95.3656715&type=json 127.0.0.1 en_US libcurl/7.59.0 r-curl/3.2 httr/1.3.1 [30.2746319,-97.7403823, 29.7568321,-95.3656715], took:0.004184862, , fastest, car, alternatives: 1, distance0: 262367.23379713506, time0: 173min, points0: 997, debugInfo: idLookup:4.82395E-4s; , algoInit:1.6764E-5s, dijkstrabi|ch-routing:0.001559744s, extract time:1.49167E-4;visited nodes sum: 530;, algoInit:1.6764E-5s, dijkstrabi|ch-routing:0.001559744s, extract time:1.49167E-4;visited nodes sum: 530, simplify (1651->1651)
Is there any way to stop graphhopper from printing all of this stuff to the server terminal for each request?
Sorry if this is a silly question. Most of this stuff is really new to me.