revert logger to lazy formatting

This commit is contained in:
Yury
2022-08-03 13:18:10 +03:00
committed by Ruslan Kuprieiev
parent 8518fe639f
commit 27b2a5cd6d
+2 -1
View File
@@ -715,7 +715,8 @@ class Output:
return
if os.path.isdir(self.fs_path):
logger.debug(f"directory '{self}' cannot be used as metrics.")
msg = "directory '%s' cannot be used as %s."
logger.debug(msg, str(self), "metrics")
return
if not istextfile(self.fs_path, self.fs):