Browse Source

adjust log level

pull/1508/head
Chris Lu 4 years ago
parent
commit
d522df0ecd
  1. 2
      weed/storage/backend/volume_create_linux.go

2
weed/storage/backend/volume_create_linux.go

@ -16,7 +16,7 @@ func CreateVolumeFile(fileName string, preallocate int64, memoryMapSizeMB uint32
}
if preallocate != 0 {
syscall.Fallocate(int(file.Fd()), 1, 0, preallocate)
glog.V(0).Infof("Preallocated %d bytes disk space for %s", preallocate, fileName)
glog.V(1).Infof("Preallocated %d bytes disk space for %s", preallocate, fileName)
}
return NewDiskFile(file), nil
}
Loading…
Cancel
Save