aboutsummaryrefslogtreecommitdiff
path: root/weed/security/guard.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2016-06-26 12:49:08 -0700
committerChris Lu <chris.lu@gmail.com>2016-06-26 12:49:10 -0700
commitd0dbf6d2eafc0a8758427870a8536f2fe1b82cc6 (patch)
tree5775c6fe15f314947a66b04ef97a8401a68acb53 /weed/security/guard.go
parentb6de5f00b3046d792b2d7427fa50a87f9fa67a04 (diff)
downloadseaweedfs-d0dbf6d2eafc0a8758427870a8536f2fe1b82cc6.tar.xz
seaweedfs-d0dbf6d2eafc0a8758427870a8536f2fe1b82cc6.zip
adjust logging
Diffstat (limited to 'weed/security/guard.go')
-rw-r--r--weed/security/guard.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/security/guard.go b/weed/security/guard.go
index 76f64cc0e..dea3b12f2 100644
--- a/weed/security/guard.go
+++ b/weed/security/guard.go
@@ -127,7 +127,7 @@ func (g *Guard) checkWhiteList(w http.ResponseWriter, r *http.Request) error {
}
}
- glog.V(1).Infof("Not in whitelist: %s", r.RemoteAddr)
+ glog.V(0).Infof("Not in whitelist: %s", r.RemoteAddr)
return fmt.Errorf("Not in whitelis: %s", r.RemoteAddr)
}