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

log level warning option #664

Merged
merged 1 commit into from
Aug 7, 2018
Merged

Conversation

george-angel
Copy link
Contributor

@george-angel george-angel commented Aug 6, 2018

time="2018-08-06T20:45:08Z" level=fatal msg="flag parsing error: enum value must be one of panic,fatal,error,warning,info,debug, got 'warn'"

For reference: https://github.com/sirupsen/logrus/blob/2c677e6a5e5ae8e1b967f1efcf2c3dbaaf625b2d/logrus.go#L16

time="2018-08-06T20:45:08Z" level=fatal msg="flag parsing error: enum value must be one of panic,fatal,error,warning,info,debug, got 'warn'"
@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Aug 6, 2018
@hjacobs
Copy link
Contributor

hjacobs commented Aug 7, 2018

Thanks for the PR!

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Aug 7, 2018
@hjacobs
Copy link
Contributor

hjacobs commented Aug 7, 2018

"warn" should also have worked when parsing, but the CLI enum prevented it to work. See https://github.com/sirupsen/logrus/blob/2c677e6a5e5ae8e1b967f1efcf2c3dbaaf625b2d/logrus.go#L44

@hjacobs hjacobs merged commit 77c3fdb into kubernetes-sigs:master Aug 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants