diff --git a/docs/configuration.rst b/docs/configuration.rst index 0176f2ca..f6dab9e8 100644 --- a/docs/configuration.rst +++ b/docs/configuration.rst @@ -7842,8 +7842,6 @@ Type Description File to write external URLs unsupported by *gallery-dl* to. - The default `Format String`_ here is ``"{message}"``. - output.errorfile ---------------- @@ -7853,8 +7851,6 @@ Type Description File to write input URLs which returned an error to. - The default `Format String`_ here is also ``"{message}"``. - When combined with ``-I``/``--input-file-comment`` or ``-x``/``--input-file-delete``, @@ -9547,7 +9543,12 @@ Description `path `__, and `keywords` objects and their attributes, for example ``"{extractor.url}"``, ``"{path.filename}"``, ``"{keywords.title}"`` - * Default: ``"[{name}][{levelname}] {message}"`` + * Default: + ``"[{name}][{levelname}] {message}"`` for + `logfile `__, + ``"{message}"`` for + `unsupportedfile `__ and + `errorfile `__ * format-date * Format string for ``{asctime}`` fields in logging messages (see `strftime() directives `__) @@ -9562,15 +9563,24 @@ Description * Mode in which the file is opened; use ``"w"`` to truncate or ``"a"`` to append (see |open()|_) - * Default: ``"w"`` + * Default: + ``"w"`` for + `logfile `__ and + `unsupportedfile `__, + ``"a"`` for + `errorfile `__ * encoding * File encoding * Default: ``"utf-8"`` * defer * Defer file opening/creation until writing the first logging message * Default: - ``true`` for `errorfile `__, - ``false`` otherwise + ``false`` for + `logfile `__, + ``true`` for + `unsupportedfile `__ and + `errorfile `__ + Note path, mode, encoding, and defer are only applied when configuring logging output to a file.