Chore: Fix log filters (#44681) (#44853)

(cherry picked from commit bc7e55d99b)

Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>
This commit is contained in:
Grot (@grafanabot)
2022-02-03 16:34:18 +01:00
committed by GitHub
co-authored by Marcus Efraimsson
parent 5a1fc33eb4
commit 9e0acc9ece
12 changed files with 261 additions and 125 deletions
+1 -1
View File
@@ -42,7 +42,7 @@ func logSentryEventScenario(t *testing.T, desc string, event frontendlogging.Fro
}))
origHandler := frontendLogger.GetLogger()
frontendLogger.AddLogger(newfrontendLogger, "info", map[string]level.Option{})
frontendLogger.SetLogger(level.NewFilter(newfrontendLogger, level.AllowInfo()))
sourceMapReads := []SourceMapReadRecord{}
t.Cleanup(func() {