From 8178fc9973e8ee3974ec5e24aedd98a45ad467c0 Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Sun, 11 Nov 2018 00:07:46 -0800 Subject: [PATCH] adjust logging --- weed/filesys/dirty_page.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weed/filesys/dirty_page.go b/weed/filesys/dirty_page.go index 3d519292b..858858a30 100644 --- a/weed/filesys/dirty_page.go +++ b/weed/filesys/dirty_page.go @@ -71,7 +71,7 @@ func (pages *ContinuousDirtyPages) AddPage(ctx context.Context, offset int64, da copy(pages.Data[pages.Size:], data[pages.Size:]) } else { if pages.Size != 0 { - glog.V(0).Infof("%s/%s add page: pages [%d, %d) write [%d, %d)", pages.f.dir.Path, pages.f.Name, pages.Offset, pages.Offset+pages.Size, offset, offset+int64(len(data))) + glog.V(1).Infof("%s/%s add page: pages [%d, %d) write [%d, %d)", pages.f.dir.Path, pages.f.Name, pages.Offset, pages.Offset+pages.Size, offset, offset+int64(len(data))) } return pages.flushAndSave(ctx, offset, data) }