diff options
author | Valery Piashchynski <[email protected]> | 2020-12-16 20:33:38 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2020-12-16 20:33:38 +0300 |
commit | 6b767417b0d76b258648f9e7fd5984bb83a32d4e (patch) | |
tree | 0cccc31823235d53840381fc70048e34dba55833 /plugins/logger/tests | |
parent | 29fdca1ec6ae2c95e5aec3d76d62cd2bc3b828e8 (diff) |
Add logs config
Reduce number of goroutines since they was locked by mutexes
Diffstat (limited to 'plugins/logger/tests')
-rw-r--r-- | plugins/logger/tests/.rr.yaml | 3 | ||||
-rw-r--r-- | plugins/logger/tests/logger_test.go | 2 |
2 files changed, 4 insertions, 1 deletions
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) } |