fix 打印日志只有2KB

This commit is contained in:
陈景阳
2019-09-02 16:45:56 +08:00
parent 1e37d714b0
commit 64a8fab961

View File

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