Преглед изворни кода

add file_handler to root logger

chenhaiyang пре 5 година
родитељ
комит
72586a7452
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      logger_config.yaml

+ 1 - 1
logger_config.yaml

@@ -35,4 +35,4 @@ loggers:
 
 root:
     level: DEBUG
-    handlers: [console]
+    handlers: [console, file_handler]