diff options
author | Valery Piashchynski <[email protected]> | 2020-12-16 21:52:52 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2020-12-16 21:52:52 +0300 |
commit | a5431a6dd0dc1d803bd7cfa2bbcb017d85d0999e (patch) | |
tree | 873249c7bf427fec21dba377a7f84caaec853e87 /plugins/checker | |
parent | dd0238723a153646631ba0a8c2577d74fce61214 (diff) |
Use ERROR log level everywhere. Remove unused code from Reload plugin
Diffstat (limited to 'plugins/checker')
-rwxr-xr-x | plugins/checker/tests/configs/.rr-checker-init.yaml | 4 | ||||
-rw-r--r-- | plugins/checker/tests/plugin_test.go | 4 |
2 files changed, 5 insertions, 3 deletions
diff --git a/plugins/checker/tests/configs/.rr-checker-init.yaml b/plugins/checker/tests/configs/.rr-checker-init.yaml index 5943551b..0aba90c5 100755 --- a/plugins/checker/tests/configs/.rr-checker-init.yaml +++ b/plugins/checker/tests/configs/.rr-checker-init.yaml @@ -13,7 +13,9 @@ server: status: address: "127.0.0.1:34333" - +logs: + mode: development + level: error http: debug: true address: 127.0.0.1:11933 diff --git a/plugins/checker/tests/plugin_test.go b/plugins/checker/tests/plugin_test.go index a37fc08e..02a7f953 100644 --- a/plugins/checker/tests/plugin_test.go +++ b/plugins/checker/tests/plugin_test.go @@ -25,7 +25,7 @@ import ( ) func TestStatusHttp(t *testing.T) { - cont, err := endure.NewContainer(nil, endure.SetLogLevel(endure.DebugLevel)) + cont, err := endure.NewContainer(nil, endure.SetLogLevel(endure.ErrorLevel)) assert.NoError(t, err) cfg := &config.Viper{ @@ -109,7 +109,7 @@ func checkHTTPStatus(t *testing.T) { } func TestStatusRPC(t *testing.T) { - cont, err := endure.NewContainer(nil, endure.SetLogLevel(endure.DebugLevel)) + cont, err := endure.NewContainer(nil, endure.SetLogLevel(endure.ErrorLevel)) assert.NoError(t, err) cfg := &config.Viper{ |