From 144060c09c627841e32ecc597ea90cfbff59362b Mon Sep 17 00:00:00 2001 From: yeya24 Date: Fri, 2 Aug 2019 00:16:25 +0800 Subject: [PATCH] change log level Signed-off-by: yeya24 --- cmd/dfdaemon/app/init.go | 2 +- supernode/server/0.3_bridge.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/dfdaemon/app/init.go b/cmd/dfdaemon/app/init.go index 5053ffc81..f169e8dd8 100644 --- a/cmd/dfdaemon/app/init.go +++ b/cmd/dfdaemon/app/init.go @@ -149,7 +149,7 @@ func cleanLocalRepo(dfpath string) { return nil } if !info.Mode().IsRegular() { - logrus.Infof("ignore %s: not a regular file", path) + logrus.Debugf("ignore %s: not a regular file", path) return nil } // get the last access time diff --git a/supernode/server/0.3_bridge.go b/supernode/server/0.3_bridge.go index 4cb6de319..0505edef9 100644 --- a/supernode/server/0.3_bridge.go +++ b/supernode/server/0.3_bridge.go @@ -94,7 +94,7 @@ func (s *Server) registry(ctx context.Context, rw http.ResponseWriter, req *http logrus.Errorf("failed to register task %+v: %v", taskCreateRequest, err) return err } - logrus.Infof("success to register task %+v", taskCreateRequest) + logrus.Debugf("success to register task %+v", taskCreateRequest) return EncodeResponse(rw, http.StatusOK, &types.ResultInfo{ Code: constants.Success, Msg: constants.GetMsgByCode(constants.Success),