diff options
| author | Chris Lu <chris.lu@gmail.com> | 2021-06-23 20:59:54 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2021-06-23 20:59:54 -0700 |
| commit | 78b1fb921c41a0dc7aaff55027624eba10f3c568 (patch) | |
| tree | 1539569d3fdef5f3f4fbea1fbeab54658cd2741a /weed | |
| parent | 05af54ad103f0a166681cda45d9303870fb7dcc7 (diff) | |
| download | seaweedfs-78b1fb921c41a0dc7aaff55027624eba10f3c568.tar.xz seaweedfs-78b1fb921c41a0dc7aaff55027624eba10f3c568.zip | |
adjust log level
Diffstat (limited to 'weed')
| -rw-r--r-- | weed/server/filer_server_handlers_read.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/server/filer_server_handlers_read.go b/weed/server/filer_server_handlers_read.go index ea0650ed8..153f68f8f 100644 --- a/weed/server/filer_server_handlers_read.go +++ b/weed/server/filer_server_handlers_read.go @@ -40,7 +40,7 @@ func (fs *FilerServer) GetOrHeadHandler(w http.ResponseWriter, r *http.Request, stats.FilerRequestCounter.WithLabelValues("read.notfound").Inc() w.WriteHeader(http.StatusNotFound) } else { - glog.V(0).Infof("Internal %s: %v", path, err) + glog.Errorf("Internal %s: %v", path, err) stats.FilerRequestCounter.WithLabelValues("read.internalerror").Inc() w.WriteHeader(http.StatusInternalServerError) } |
