From 6b767417b0d76b258648f9e7fd5984bb83a32d4e Mon Sep 17 00:00:00 2001 From: Valery Piashchynski Date: Wed, 16 Dec 2020 20:33:38 +0300 Subject: Add logs config Reduce number of goroutines since they was locked by mutexes --- plugins/logger/tests/.rr.yaml | 3 +++ plugins/logger/tests/logger_test.go | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'plugins/logger') diff --git a/plugins/logger/tests/.rr.yaml b/plugins/logger/tests/.rr.yaml index e69de29b..cb555ec3 100644 --- a/plugins/logger/tests/.rr.yaml +++ b/plugins/logger/tests/.rr.yaml @@ -0,0 +1,3 @@ +logs: + mode: development + level: debug \ No newline at end of file diff --git a/plugins/logger/tests/logger_test.go b/plugins/logger/tests/logger_test.go index 1df74c47..3e6faf1f 100644 --- a/plugins/logger/tests/logger_test.go +++ b/plugins/logger/tests/logger_test.go @@ -13,7 +13,7 @@ import ( ) func TestLogger(t *testing.T) { - container, err := endure.NewContainer(nil, endure.RetryOnFail(true), endure.SetLogLevel(endure.DebugLevel)) + container, err := endure.NewContainer(nil, endure.RetryOnFail(true), endure.SetLogLevel(endure.ErrorLevel)) if err != nil { t.Fatal(err) } -- cgit v1.2.3