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
excessive logging from control plane & log levels/verbosity not respected #334
Comments
Yeah, those need cleaned up! I need to pass in the logger to the util classes and then replace console.log. For the proxy maybe just wrap it in a debug env var or something. |
+1 on this. The current logging situation makes debugging any problems an unreasonably difficult process. |
That depends on who is debugging ;) usually I am asking for logs and the current data is extremely helpful. The project however is certainly mature enough however at this point that I will indeed implement this differently. |
Having the current set of logs be emitted by default would be fine... if everything was actually in a consistent log format, with commensurate log levels applied. I'm fine with filtering out unnecessary logs before they're shipped out of the cluster (even if it's slightly suboptimal) but currently, there's no reasonable way (short of hand-crafting patterns to match all of the various logging categories) to actually process them consistently. Happy to try and submit a PR for some of this (bring solutions, not problems, etc etc) unless you already have something in the works. |
Always happy for contributions but it really shouldn't be overly difficult for me to add this. All of the points are well received and agreed with by my part! |
a cursory glance at the code suggests some thought was given to log levels and verbosity but it doesn't seem to have been wired up here or in the
csi-grpc-proxy
most of the noise appears to come from the
csi-driver
andcsi-proxy
which is logging a combined 6 lines per second in my small home lab environment with about 20 volumes
the contents of the logs appear to be the result of idle metric collection for volumes
i've commented out the worse offenders in the following 2 commits which basically negates the above
jakekeeys@8b4e53a
jakekeeys/csi-grpc-proxy@d941a2e
The text was updated successfully, but these errors were encountered: