Sfoglia il codice sorgente

Allow EarwigBot to save its internal logs for debugging.

pull/24/head
Ben Kurtovic 9 anni fa
parent
commit
047ddcf75c
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      app.fcgi

+ 1
- 1
app.fcgi Vedi File

@@ -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)


Caricamento…
Annulla
Salva