Explorar o código

add file_handler to root logger

chenhaiyang %!s(int64=5) %!d(string=hai) anos
pai
achega
72586a7452
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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]