summaryrefslogtreecommitdiffstats
path: root/DOCS/man/options.rst
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2017-10-04 22:08:19 +0200
committerwm4 <wm4@nowhere>2017-10-04 22:08:19 +0200
commit10dd120baa00991934e5efa807fa1c230a443401 (patch)
treeb8edd21965d5b34c23977f3dd6e8f4c9178e7053 /DOCS/man/options.rst
parentbfae72a2788d576bfa04c7e670fe68b52163e85f (diff)
downloadmpv-10dd120baa00991934e5efa807fa1c230a443401.tar.bz2
mpv-10dd120baa00991934e5efa807fa1c230a443401.tar.xz
msg: make --msg-level affect --log-file too
But --msg-level can only raise the log level used for --log-file, because the original idea with --log-file was that it'd log verbose messages to disk even if terminal logging is lower than -v or fully disabled.
Diffstat (limited to 'DOCS/man/options.rst')
-rw-r--r--DOCS/man/options.rst7
1 files changed, 5 insertions, 2 deletions
diff --git a/DOCS/man/options.rst b/DOCS/man/options.rst
index 85b5418323..8b1bc8c3d8 100644
--- a/DOCS/man/options.rst
+++ b/DOCS/man/options.rst
@@ -403,8 +403,9 @@ Program Behavior
``--log-file=<path>``
Opens the given path for writing, and print log messages to it. Existing
- files will be truncated. The log level always corresponds to ``-v``,
- regardless of terminal verbosity levels.
+ files will be truncated. The log level is at least ``-v``, but can be
+ raised via ``--msg-level`` (the option cannot lower it below the forced
+ minimum log level).
``--config-dir=<path>``
Force a different configuration directory. If this is set, the given
@@ -3380,6 +3381,8 @@ Terminal
can use the module names printed in the output (prefixed to each line in
``[...]``) to limit the output to interesting modules.
+ This also affects ``--log-file``, and in certain cases libmpv API logging.
+
.. note::
Some messages are printed before the command line is parsed and are