-
Notifications
You must be signed in to change notification settings - Fork 24
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
Http access log is hard-coded to debug. Configuration log-level is useless #26
Comments
I set warn for log level, but doesn't effect on access-log |
hello @hanynowsky @like-inspur it is hard coded as debug because of access.log has not levels its main goal is print each incoming query with related data. If you need disable you can select /dev/null as output file to write to. Could yo test please? Why do you think this log could be annoyance and should be disabled in configuration time? |
because I run it on docker with image, if this log print forever, it will occupy docker disk in the future |
We could add a log option to redirect logs to the console... would you like this option better than separate files? |
certainly, and this will be bettern to watch service log under docker environment, and hope to modify this for syncflux also |
Hi @like-inspur , I've just released the syncflux 0.6.7 version wit default logmode on console , and other fixes and updates. Could you test it please? , If all ok, we will try to fix and release a new influxb-srelay version with this and other fixes ASAP. |
@toni-moreno I've just test syncflux 0.6.7 on my kubernetes environment and it works like below: |
it seems to be logging into the console ok. NOTE: remember replication config "all" doesn't exist the correct config is "both" (ocumentation in previous versions was wrong) |
@toni-moreno thank you very much, and waiting for your newest version of influxdb-srelay |
Hello @like-inspur I've just reviewed code and remembered that code was ready to log into console by only omit all
or
Could you test please? |
@toni-moreno hello, above config is ok and can't effect on http_route_pass_all.log like below, sanme as syncflux(toni-moreno/syncflux#35), but output in console
|
hi @like-inspur have you tested |
yes, I config like below but still output http log like above
|
Hello @like-inspur , I've just reviewed code and tested the above described config and it is working to me. Please check that you have void all your log-file entries and you have log-inherit=true in all your routes.
please review and restart the process to test and let me know if finally fixed. Thank you very much. |
@toni-moreno I add log-inherit=true for each [[http.endpoint.route]] and there are 2 in my config |
Please. Could you completely stop image, delete volumes and after restart again? |
@toni-moreno yes,I update configmap and restart pod again, not mount any volume for pod |
@toni-moreno hello, pod health check and prometheus write into influxdb log still always prrint like below |
The text was updated successfully, but these errors were encountered: