From 108d0fb08db7c7f3b6f5a199fb83de139eab94db Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Fri, 26 Apr 2019 09:32:07 -0700 Subject: [PATCH] adjust log level --- weed/filer2/filer_deletion.go | 1 + weed/server/master_grpc_server.go | 2 +- weed/server/volume_grpc_client_to_master.go | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/weed/filer2/filer_deletion.go b/weed/filer2/filer_deletion.go index db26fb0a2..e45f80b2f 100644 --- a/weed/filer2/filer_deletion.go +++ b/weed/filer2/filer_deletion.go @@ -53,6 +53,7 @@ func (f *Filer) loopProcessingDeletion() { func (f *Filer) DeleteChunks(fullpath FullPath, chunks []*filer_pb.FileChunk) { for _, chunk := range chunks { + glog.V(3).Infof("deleting %s chunk %s", fullpath, chunk.String()) f.fileIdDeletionChan <- chunk.FileId } } diff --git a/weed/server/master_grpc_server.go b/weed/server/master_grpc_server.go index 0bcde6851..730412b47 100644 --- a/weed/server/master_grpc_server.go +++ b/weed/server/master_grpc_server.go @@ -72,7 +72,7 @@ func (ms *MasterServer) SendHeartbeat(stream master_pb.Seaweed_SendHeartbeatServ } } - glog.V(2).Infof("master received heartbeat %s", heartbeat.String()) + glog.V(4).Infof("master received heartbeat %s", heartbeat.String()) message := &master_pb.VolumeLocation{ Url: dn.Url(), PublicUrl: dn.PublicUrl, diff --git a/weed/server/volume_grpc_client_to_master.go b/weed/server/volume_grpc_client_to_master.go index 17278f83e..1c292db6a 100644 --- a/weed/server/volume_grpc_client_to_master.go +++ b/weed/server/volume_grpc_client_to_master.go @@ -120,7 +120,7 @@ func (vs *VolumeServer) doHeartbeat(ctx context.Context, masterNode, masterGrpcA return "", err } case <-tickChan: - glog.V(2).Infof("volume server %s:%d heartbeat", vs.store.Ip, vs.store.Port) + glog.V(4).Infof("volume server %s:%d heartbeat", vs.store.Ip, vs.store.Port) if err = stream.Send(vs.store.CollectHeartbeat()); err != nil { glog.V(0).Infof("Volume Server Failed to talk with master %s: %v", masterNode, err) return "", err