读取日志修改为2M

This commit is contained in:
陈景阳
2019-10-28 11:38:39 +08:00
parent bf4e9df55f
commit 5525c82835

View File

@@ -24,7 +24,7 @@ func GetLocalLog(logPath string) (fileBytes []byte, err error) {
}
defer utils.Close(f)
const bufLen = 1 * 1024 * 1024
const bufLen = 2 * 1024 * 1024
logBuf := make([]byte, bufLen)
off := int64(0)