-
Notifications
You must be signed in to change notification settings - Fork 256
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Please log upstreams on start #200
Comments
Logging should include all config options, so that later debugging is useful. |
@timkgh, you can enable verbose log output by using the
|
@schzhn, that output does not include the section, so this issue should remain open at least until we do that. |
You can fix this is you self-compile. Change this line from "log.Debug" to "log.Info". Line 266 in 64814cc
|
@schzhn I do not want to run with verbose logging all the time, just want to see useful config info at start. |
It currently logs the fallback, but it would be useful to log the upstreams also to make sure the config is correct:
2022/01/11 13:59:18 [info] Fallback 0 is https://1.1.1.2:443/dns-query
Similar lines should be logged for upstreams.
Maybe more useful config options should also be logged, in particular when reading from the yaml config file, i'm not confident all of them are interpreted correctly.
The text was updated successfully, but these errors were encountered: