You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Although the progress of graph building takes time, it would be nice if we could get reliable progress, when I'm building with small files for test the logs from the RoutingProfileManager and core.PrepareCore pops up on my docker setup, but when I'm building for production they do not!
I tried a lot configurations and still couldn`t get the log to show up on my server!
I tried setting the logs from info to debug, even trace, I tried overriding the log4j file with this one:
# Set root logger level to DEBUG and its only appender to A1.
log4j.rootLogger=DEBUG, A1
# A1 is set to be a ConsoleAppender.
log4j.appender.A1=org.apache.log4j.ConsoleAppender
log4j.appender.A1.layout=org.apache.log4j.PatternLayout
log4j.appender.A1.layout.ConversionPattern=%d{dd MMM HH:mm:ss} %p [%c{2}] - %m%n
log4j.logger.org.heigit=INFO
log4j.logger.org.apache=INFO
log4j.logger.com.graphhopper=INFO
log4j.logger.springfox.documentation=INFO
log4j.logger.io.micrometer=INFO
Still, I couldn`t get a reliable log source for the graphs' progress!
Configuring the logging in the config file should be sufficient. If you are using the new yml-based configuration you need to make sure that there is no old json-config lying around, which may override your yml-config.
@JPBM135 The logging in containers is known to be tricky. Please review this problem once v8 is out. We're actively working on it and it will be soon. We've currently come competing log libraries that should be sorted out in v8.
Is there an existing issue for this?
Feature/Enhancement Proposal
Although the progress of graph building takes time, it would be nice if we could get reliable progress, when I'm building with small files for test the logs from the RoutingProfileManager and core.PrepareCore pops up on my docker setup, but when I'm building for production they do not!
I tried a lot configurations and still couldn`t get the log to show up on my server!
Additional context
Solutions I tried
In config options
Messing with the JAVA_OPTS
I tried setting the logs from info to debug, even trace, I tried overriding the log4j file with this one:
Still, I couldn`t get a reliable log source for the graphs' progress!
Logs example
Source: https://ask.openrouteservice.org/t/unable-to-find-walking-route-on-local-server/3185/3
Possible Implementation
Maybe an ENV var? Or an dedicated JVM option?
Forum Topic Link
No response
The text was updated successfully, but these errors were encountered: