浏览代码

[fix] longer error logs

version-14
Rushabh Mehta 8 年前
父节点
当前提交
0bdb4b6ec8
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      frappe/utils/logger.py

+ 1
- 1
frappe/utils/logger.py 查看文件

@@ -14,7 +14,7 @@ def get_logger(module, with_more_info=True):
# handler = logging.StreamHandler() # handler = logging.StreamHandler()


handler = RotatingFileHandler( handler = RotatingFileHandler(
LOG_FILENAME, maxBytes=20000, backupCount=20)
LOG_FILENAME, maxBytes=100000, backupCount=20)
handler.setFormatter(formatter) handler.setFormatter(formatter)


if with_more_info: if with_more_info:


正在加载...
取消
保存