From da46d4fc87f19784d835e5fda35db641b9e33ca8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20F=C3=A4hrmann?= Date: Sun, 7 Dec 2025 10:06:56 +0100 Subject: [PATCH] [output] defer creation of 'unsupported' files by default (#8622) https://github.com/mikf/gallery-dl/pull/8622#issuecomment-3618151200 --- gallery_dl/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gallery_dl/__init__.py b/gallery_dl/__init__.py index 3e152a98..98f8c12a 100644 --- a/gallery_dl/__init__.py +++ b/gallery_dl/__init__.py @@ -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