Open cyclinder opened 9 months ago
calicoctl --log-level=debug label node 10-20-1-220 calico-group-id=rr1 --overwrite
maybe we can consider --log-level
as a global flag
I think as you discovered the --log-level
flag does work globally across all commands, the problem is that it needs to be before the sub command.
i.e., calicoctl -l=debug subcommand
instead of calicoctl subcommand -l=debug
This is a bit annoying but probably not super high priority to change IMO.
Expected Behavior
calicoctl should be support with '--log-level=debug'
Current Behavior
calicoctl don't support with '--log-level=debug'
Possible Solution
Steps to Reproduce (for bugs)
1. 2. 3. 4.
Context
Your Environment