summaryrefslogtreecommitdiff
path: root/plugins/checker
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2020-12-16 21:52:52 +0300
committerValery Piashchynski <[email protected]>2020-12-16 21:52:52 +0300
commita5431a6dd0dc1d803bd7cfa2bbcb017d85d0999e (patch)
tree873249c7bf427fec21dba377a7f84caaec853e87 /plugins/checker
parentdd0238723a153646631ba0a8c2577d74fce61214 (diff)
Use ERROR log level everywhere. Remove unused code from Reload plugin
Diffstat (limited to 'plugins/checker')
-rwxr-xr-xplugins/checker/tests/configs/.rr-checker-init.yaml4
-rw-r--r--plugins/checker/tests/plugin_test.go4
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{