-
Notifications
You must be signed in to change notification settings - Fork 33
lookout-sdk --log-level flag does not work #374
Copy link
Copy link
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Originally I posted a comment to this issue #357 (comment) but @carlosms says it is unrelated so here is a new one.
There is a problem with lookout-sdk --log-level flag. It looks like it does not affect log level at all.
When I run something like
lookout-sdk push --log-level=warning ...or
lookout-sdk push --log-level debug ...Anyway, I get info log level.
Small examples to reproduce:
➜ lookout-sdk version
lookout-sdk v0.5.0 built on 11-23-2018_16_43_04
➜ lookout-sdk push -v ipv4://localhost:2000 --from aaa --to bbb --git-dir . --log-level=warning
[2018-12-01T01:46:43.181913214+03:00] INFO resolving to/from references app=lookout-sdk source=lookout-sdk/event.go:58
base revision 'aaa' error: reference not found
➜ lookout-sdk push -v ipv4://localhost:2000 --from aaa --to bbb --git-dir . --log-level warning
[2018-12-01T01:47:05.522527611+03:00] INFO resolving to/from references app=lookout-sdk source=lookout-sdk/event.go:58
base revision 'aaa' error: reference not foundYou can see INFO log messages.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working