diff --git a/logger.go b/logger.go index 04afb9c761..1a5ae5dcdb 100644 --- a/logger.go +++ b/logger.go @@ -19,7 +19,7 @@ func init() { // Parse manually because testing.Verbose() panics unless flag.Parse() has done. for _, arg := range os.Args { if strings.EqualFold(arg, "-test.v=true") || strings.EqualFold(arg, "-v") { - return + Logger = log.New(os.Stderr, "", log.LstdFlags) } } }