Questions tagged [klog]
2 questions
1
vote
1 answer
How to combine cobra and klog
I have a project that needs to use cobra and klog to generate executable and print logs and keep.
Firstly, I tested that using the following klog can output the log to the terminal and file at the same time.
package main
import (
"flag"
…

moluzhui
- 1,003
- 14
- 34
0
votes
2 answers
What is default log levels for Kubernetes storage sidecars
What would be default log level for Kubernetes storage sidecars such as external-snapshotter, external-provisioner, external-attacher etc. I couldnt get details from code (checked external-snapshotter) code. Is there a way to know default log level…

ambikanair
- 4,004
- 11
- 43
- 83