Quellcode durchsuchen

Use extra parameter instead of formatted line in logger

Guillaume Ayoub vor 12 Jahren
Ursprung
Commit
b60b759a36
1 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  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)