浏览代码

Allow EarwigBot to save its internal logs for debugging.

pull/24/head
Ben Kurtovic 10 年前
父节点
当前提交
047ddcf75c
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      app.fcgi

+ 1
- 1
app.fcgi 查看文件

@@ -25,7 +25,7 @@ app.logger.addHandler(TimedRotatingFileHandler(
"logs/app.log", when="midnight", backupCount=7))
app.logger.info(u"Flask server started " + asctime())

bot = Bot(".earwigbot", 100)
bot = Bot(".earwigbot", 0)

def catch_errors(func):
@wraps(func)


正在加载...
取消
保存