Selaa lähdekoodia

add file_handler to root logger

chenhaiyang 5 vuotta sitten
vanhempi
commit
72586a7452
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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]