소스 검색

Use extra parameter instead of formatted line in logger

Guillaume Ayoub 12 년 전
부모
커밋
b60b759a36
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      radicale/log.py

+ 2 - 2
radicale/log.py

@@ -55,5 +55,5 @@ def start():
         if debug:
             LOGGER.setLevel(logging.DEBUG)
             LOGGER.debug(
-                "Logging configuration file '%s' not found, using stdout." %
-                filename)
+                "Logging configuration file '%s' not found, using stdout.",
+                extra=filename)