浏览代码

Update log format

JoostSijm 6 年之前
父节点
当前提交
85e38caf06
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/__init__.py

+ 1 - 1
app/__init__.py

@@ -22,7 +22,7 @@ scheduler = BackgroundScheduler()
 scheduler.start()
 
 logging.basicConfig(
-    format='%(name)s - %(levelname)s - %(message)s',
+    format='%(asctime)s - %(name)s - %(levelname)s - %(message)s',
     level=logging.INFO
 )
 LOGGER = logging.getLogger(__name__)