From 46ae5dcc22d971b0f909bce23ec8fdef26811ed6 Mon Sep 17 00:00:00 2001 From: Valery Piashchynski Date: Thu, 26 Nov 2020 16:21:50 +0300 Subject: Swithc Into to Debug logger in resetter and informer RPC --- plugins/resetter/rpc.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'plugins/resetter') diff --git a/plugins/resetter/rpc.go b/plugins/resetter/rpc.go index 157aa8c6..ecc51bb3 100644 --- a/plugins/resetter/rpc.go +++ b/plugins/resetter/rpc.go @@ -9,7 +9,7 @@ type rpc struct { // List all resettable services. func (rpc *rpc) List(_ bool, list *[]string) error { - rpc.log.Info("started List method") + rpc.log.Debug("started List method") *list = make([]string, 0) for name := range rpc.srv.registry { @@ -17,14 +17,14 @@ func (rpc *rpc) List(_ bool, list *[]string) error { } rpc.log.Debug("services list", "services", *list) - rpc.log.Info("finished List method") + rpc.log.Debug("finished List method") return nil } // Reset named service. func (rpc *rpc) Reset(service string, done *bool) error { - rpc.log.Info("started Reset method for the service", "service", service) - defer rpc.log.Info("finished Reset method for the service", "service", service) + rpc.log.Debug("started Reset method for the service", "service", service) + defer rpc.log.Debug("finished Reset method for the service", "service", service) *done = true return rpc.srv.Reset(service) } -- cgit v1.2.3