Browse Source

Fix log file rotate time.

pull/24/head
Ben Kurtovic 10 years ago
parent
commit
1e3a61ac52
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app.fcgi

+ 1
- 1
app.fcgi View File

@@ -22,7 +22,7 @@ MakoTemplates(app)

app.logger.setLevel(DEBUG)
app.logger.addHandler(TimedRotatingFileHandler(
"logs/app.log", when="D", interval=1, backupCount=7))
"logs/app.log", when="midnight", backupCount=7))
app.logger.info(u"Flask server started " + asctime())

bot = Bot(".earwigbot", 100)


Loading…
Cancel
Save