-
Notifications
You must be signed in to change notification settings - Fork 128
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
V style logging #112
V style logging #112
Conversation
Small nits. Reviewed 7 of 7 files at r1. pkg/manager/manager.go, line 151 at r1 (raw file):
As this pkg/manager/manager.go, line 157 at r1 (raw file):
Same as above for pkg/manager/manager.go, line 244 at r1 (raw file):
Typo. Also same as pkg/manager/manager.go, line 269 at r1 (raw file):
Good catch. pkg/manager/manager.go, line 272 at r1 (raw file):
There should be simple Comments from Reviewable |
Review status: all files reviewed at latest revision, 5 unresolved discussions. pkg/manager/manager.go, line 157 at r1 (raw file):
|
Review status: all files reviewed at latest revision, 5 unresolved discussions. pkg/manager/manager.go, line 157 at r1 (raw file):
|
Also, add back some of the spammy logging removed in Mirantis#73 on level 3. Fixes Mirantis#74
ee47a63
to
8c9c860
Compare
Reviewed 10 of 10 files at r2. Comments from Reviewable |
Virtlet logging settings:
-v=0
: no info logging.V(0)
can be used for some important info messages but as of now it isn't used in such way.-v=1
: minimal info logging (startup message)-v=2
: same logging as before this PR. This level is set in CMD in Dockerfile-v=3
: added back some of the logging removed in #73 on this log level. Complex objects are dumped using go-spewLevel 4 and higher isn't used at the moment.
It's now possible to set log level for docker-compose like this:
Besides,
VirtletManager.ListImages()
was not returning nil response in case of error,fixed it.
Fixes #74
This change is