Bug fix: Unbound log line processing, fix #333

This commit is contained in:
Quentin McGaw
2021-01-04 01:44:24 +00:00
parent cfbf5624e1
commit d294fbab15

View File

@@ -13,7 +13,7 @@ import (
var regularExpressions = struct { //nolint:gochecknoglobals
unboundPrefix *regexp.Regexp
}{
unboundPrefix: regexp.MustCompile(`unbound: \[[0-9]{10}\] unbound\[[0-9]+:0\] `),
unboundPrefix: regexp.MustCompile(`unbound: \[[0-9]{10}\] unbound\[[0-9]+:[0|1]\] `),
}
func PostProcessLine(s string) (filtered string, level logging.Level) {