mirror of
https://github.com/vmware-tanzu/pinniped.git
synced 2026-09-19 22:44:18 +00:00
Enable debug logging in all testing scenarios
It is really helpful to have verbose logs during test debugging. Signed-off-by: Andrew Keesler <akeesler@vmware.com>
This commit is contained in:
@@ -395,6 +395,11 @@ func run() error {
|
||||
}
|
||||
|
||||
func main() {
|
||||
// Hardcode the logging level to debug, since this is a test app and it is very helpful to have
|
||||
// verbose logs to debug test failures.
|
||||
if err := plog.ValidateAndSetLogLevelGlobally(plog.LevelDebug); err != nil {
|
||||
klog.Fatal(err)
|
||||
}
|
||||
if err := run(); err != nil {
|
||||
klog.Fatal(err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user