From 6c9156b25f8b1c28fb0cc909310a20aeeec0e087 Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Mon, 16 Nov 2020 22:26:58 -0800 Subject: switch to logrus losing filename and line number. Critical for debugging. --- weed/server/volume_server.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'weed/server/volume_server.go') diff --git a/weed/server/volume_server.go b/weed/server/volume_server.go index 83df32fdd..1ab468712 100644 --- a/weed/server/volume_server.go +++ b/weed/server/volume_server.go @@ -9,7 +9,7 @@ import ( "github.com/chrislusf/seaweedfs/weed/stats" "github.com/chrislusf/seaweedfs/weed/util" - "github.com/chrislusf/seaweedfs/weed/glog" + "github.com/chrislusf/seaweedfs/weed/util/log" "github.com/chrislusf/seaweedfs/weed/security" "github.com/chrislusf/seaweedfs/weed/storage" ) @@ -103,7 +103,7 @@ func NewVolumeServer(adminMux, publicMux *http.ServeMux, ip string, } func (vs *VolumeServer) Shutdown() { - glog.V(0).Infoln("Shutting down volume server...") + log.Infoln("Shutting down volume server...") vs.store.Close() - glog.V(0).Infoln("Shut down successfully!") + log.Infoln("Shut down successfully!") } -- cgit v1.2.3