-
Notifications
You must be signed in to change notification settings - Fork 286
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
Reduce FV verbosity #2814
Reduce FV verbosity #2814
Conversation
Ignore infra logs during stop. Log command output inline rather than buffer.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just one small thing...
for _, profile := range profiles.Items { | ||
utils.AddToTestOutput(fmt.Sprintf("%v\n", profile)) | ||
log.Info(profile) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I did not know you could call Info with a single object arg....
fv/utils/utils.go
Outdated
} else { | ||
log.WithFields(log.Fields{ | ||
"command": command, | ||
"args": args}).Infof("Command succeeded:\n%s", output) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it's going to be a bit confusing having command=kubectl whatever
appended to the last line of the output. Can we revert to logging the command on its own first? It's not a big deal for me, but I think that would be better.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, was just thinking the same myself after trying this out for a bit 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, thanks.
/merge-when-ready |
OK, I will merge the pull request when it's ready, leave the commits as is when I merge it, and leave the branch after I've merged it. |
Reduce FV verbosity
Description
Todos
Release Note