瀏覽代碼

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)


Loading…
取消
儲存