From d294fbab15f36af82990371e6b1c647fdf4953b3 Mon Sep 17 00:00:00 2001 From: Quentin McGaw Date: Mon, 4 Jan 2021 01:44:24 +0000 Subject: [PATCH] Bug fix: Unbound log line processing, fix #333 --- internal/logging/line.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/logging/line.go b/internal/logging/line.go index ab521f4b..4a7e9b84 100644 --- a/internal/logging/line.go +++ b/internal/logging/line.go @@ -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) {