We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 12d5c0e commit cd39cbeCopy full SHA for cd39cbe
1 file changed
cmd/root.go
@@ -36,8 +36,11 @@ var rootCmd = &cobra.Command{
36
}
37
38
if opts.Logging.Debug && !opts.Logging.Silence {
39
+ // also enable logging of scan errors. often this is _actually_ what
40
+ // people want when they enable debug logging.
41
+ opts.Logging.LogScanErrors = true
42
log.EnableDebug()
- log.Debug("debug logging enabled")
43
+ log.Debug("debug logging enabled. this also enabled --log-scan-errors")
44
45
46
if enableProfiling {
0 commit comments