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

Use logrus for logs, write them into the snapshot #64

Merged
merged 2 commits into from Aug 31, 2017

Conversation

kensimon
Copy link

The logs will be stored in "meta/run.log" as JSON-formatted log lines

The kubernetes client's logs (which use glog) aren't included since
there's no good way to redirect those. We can consider changing our
docs to drop the -v 5 --logtostderr from the command line, since it
only shows kube-client logs now.

Signed-off-by: Ken Simon ninkendo@gmail.com

The logs will be stored in "meta/run.log" as JSON-formatted log lines

The kubernetes client's logs (which use glog) aren't included since
there's no good way to redirect those.  We can consider changing our
docs to drop the `-v 5 --logtostderr` from the command line, since it
only shows kube-client logs now.

Signed-off-by: Ken Simon <ninkendo@gmail.com>
Signed-off-by: Ken Simon <ninkendo@gmail.com>
@kensimon
Copy link
Author

fixes #55

@kensimon kensimon merged commit 02695a5 into vmware-tanzu:master Aug 31, 2017
@kensimon kensimon deleted the logrus branch August 31, 2017 16:28
jhamilton1 pushed a commit to jhamilton1/sonobuoy that referenced this pull request Jun 27, 2018
Use logrus for logs, write them into the snapshot
Signed-off-by: Jesse Hamilton jesse.hamilton@heptio.com
jhamilton1 pushed a commit to jhamilton1/sonobuoy that referenced this pull request Jun 27, 2018
Use logrus for logs, write them into the snapshot
Signed-off-by: Jesse Hamilton jesse.hamilton@heptio.com

Signed-off-by: Jesse Hamilton jesse.hamilton@heptio.com
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 this pull request may close these issues.

None yet

1 participant