diff options
Diffstat (limited to 'weed/operation/lookup_vid_cache.go')
| -rw-r--r-- | weed/operation/lookup_vid_cache.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/weed/operation/lookup_vid_cache.go b/weed/operation/lookup_vid_cache.go index 248fc17de..79e8738e8 100644 --- a/weed/operation/lookup_vid_cache.go +++ b/weed/operation/lookup_vid_cache.go @@ -6,7 +6,7 @@ import ( "sync" "time" - "github.com/seaweedfs/seaweedfs/weed/glog" + "github.com/seaweedfs/seaweedfs/weed/util/log" ) var ErrorNotFound = errors.New("not found") @@ -23,7 +23,7 @@ type VidCache struct { func (vc *VidCache) Get(vid string) ([]Location, error) { id, err := strconv.Atoi(vid) if err != nil { - glog.V(1).Infof("Unknown volume id %s", vid) + log.V(2).Infof("Unknown volume id %s", vid) return nil, err } vc.RLock() @@ -42,7 +42,7 @@ func (vc *VidCache) Get(vid string) ([]Location, error) { func (vc *VidCache) Set(vid string, locations []Location, duration time.Duration) { id, err := strconv.Atoi(vid) if err != nil { - glog.V(1).Infof("Unknown volume id %s", vid) + log.V(2).Infof("Unknown volume id %s", vid) return } vc.Lock() |
