Skip to content
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

Error hidden with info log level and status body too long #202

Closed
raffis opened this issue Dec 14, 2020 · 0 comments · Fixed by #205
Closed

Error hidden with info log level and status body too long #202

raffis opened this issue Dec 14, 2020 · 0 comments · Fixed by #205

Comments

@raffis
Copy link

raffis commented Dec 14, 2020

This is partially related to #190.

If many manifests are in a repository and one of these manifest got an error the error is not visible in info log level because you end up seeing:

{"level":"error","ts":"2020-12-14T09:52:40.719Z","logger":"controllers.Kustomization","msg":"unable to update status after reconciliation","controller":"kustomization","request":"flux-system/k8s","error":"Kustomization.kustomize.toolkit.fluxcd.io \"k8s\" is invalid: status.conditions.message: Invalid value: \"\": status.conditions.message in body should be at most 32768 chars long"}

However if the log level is debug the real error is visible before that in the debug msg Normal.
The error should be visible in all log levels despite seeing body too long error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant