-
Notifications
You must be signed in to change notification settings - Fork 519
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
[FR] Support log level configuration + document this feature #1122
Comments
Thanks for submitting this feature request! Although it's not possible to configure log verbosity now, It’s one we’ve heard before, so we’ll make sure it’s on our list of features to consider when we’re ready to make some changes. |
@ivankube thanks. Is there any documentation of the possible arguments that exist to date somewhere? |
@pierluigilenoci You can pass |
@mbolt35 thanks! Is only the Unfortunately |
@pierluigilenoci I have not tried to use the flags mentioned; however, it looks like we are piping I'll be honest, klogs decision to hijack command line arguments as a library seems odd, as I wish they would've just provided an programmable initialization which accepted arguments directly. If there are any specific klog options you'd like passed through, they can be added in the code I referenced above. Glad to take a look at any PRs submitted there. |
@mbolt35 thank you very much for the explanation and for your availability. |
+1 on this feature request. We've had kubecost logs spam our logging infrastructure with millions of records for an ETL misconfig. Currently our only fix is to filter it out from log collection. |
@pzimno, is there a specific log that you can share that's been spamming you? My understanding is that this request would provide general log level configuration but I'd want to do our best to address your very specific case. |
@dwbrown2, cost-model had some sort of etl failure so we would get a couple million logs per minute with messages like
|
@AjayTripathy is that particular log worth de-duping or handling differently? |
@pzimno I opened a new issue to keep track of this as I don't think it falls under the original issue or the fix added for said issue. If you have more details, like what was misconfigured, please add them to the new issue. @dwbrown2 This sounds like we something we should at least look into if it caused millions of logs |
Trying to change the verbosity of the software to produce a lower number of logs (only warnings and errors, the info level logs do not interest us) I searched for the documentation that specified all the args of the software but I could not find it.
Exists?
If it doesn't exist in what part of the software are they handled?
Maybe I can only extricate myself by reading the source code.
I tried searching both the documentation and the repos but couldn't find anything.
Thanks in advance.
gz#1529
The text was updated successfully, but these errors were encountered: