[output] defer creation of 'unsupported' files by default (#8622)

https://github.com/mikf/gallery-dl/pull/8622#issuecomment-3618151200
This commit is contained in:
Mike Fährmann
2025-12-07 10:06:56 +01:00
parent 2944cd4b74
commit da46d4fc87

View File

@@ -284,7 +284,7 @@ def main():
# unsupported file logging handler
if handler := output.setup_logging_handler(
"unsupportedfile", fmt="{message}"):
"unsupportedfile", fmt="{message}", defer=True):
ulog = job.Job.ulog = logging.getLogger("unsupported")
ulog.addHandler(handler)
ulog.propagate = False