Browse Source

adjust log level

pull/747/head
Chris Lu 6 years ago
parent
commit
d3e1f20dcc
  1. 2
      weed/replication/sink/fetch_write.go

2
weed/replication/sink/fetch_write.go

@ -85,7 +85,7 @@ func (fs *FilerSink) fetchAndWrite(sourceChunk *filer_pb.FileChunk) (fileId stri
fileUrl := fmt.Sprintf("http://%s/%s", host, fileId) fileUrl := fmt.Sprintf("http://%s/%s", host, fileId)
glog.V(3).Infof("replicating %s to %s header:%+v", filename, fileUrl, header)
glog.V(4).Infof("replicating %s to %s header:%+v", filename, fileUrl, header)
uploadResult, err := operation.Upload(fileUrl, filename, readCloser, uploadResult, err := operation.Upload(fileUrl, filename, readCloser,
"gzip" == header.Get("Content-Encoding"), header.Get("Content-Type"), nil, "") "gzip" == header.Get("Content-Encoding"), header.Get("Content-Type"), nil, "")

Loading…
Cancel
Save