From 5ff6051a0ae755cceeb14861ca9da765f4c7bebc Mon Sep 17 00:00:00 2001 From: midoks Date: Thu, 4 Feb 2021 02:09:47 +0800 Subject: [PATCH] Update index.py --- plugins/mysql/index.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/mysql/index.py b/plugins/mysql/index.py index 2bb90e23c..0fb7b4073 100755 --- a/plugins/mysql/index.py +++ b/plugins/mysql/index.py @@ -242,7 +242,7 @@ def getErrorLog(): if args.has_key('close'): mw.writeFile(filename, '') return mw.returnJson(False, '日志已清空') - info = mw.getNumLines(filename, 1000) + info = mw.getNumLines(filename, 18) return mw.returnJson(True, 'OK', info)