summaryrefslogtreecommitdiffstats
path: root/DOCS/man/options.rst
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-01-26 11:31:02 +0100
committerwm4 <wm4@nowhere>2015-01-26 11:31:02 +0100
commit96f7c96da02c235c0f4511f30ea81c45933bf881 (patch)
treee00855b24351f6d5552a69593e8924899024b22c /DOCS/man/options.rst
parent637e3e975cc748cbac9c3ed2066b1a852ce1f354 (diff)
downloadmpv-96f7c96da02c235c0f4511f30ea81c45933bf881.tar.bz2
mpv-96f7c96da02c235c0f4511f30ea81c45933bf881.tar.xz
msg: add --log-file option
This allows getting the log at all with --no-terminal and without having to retrieve log messages manually with the client API. The log level is hardcoded to -v. A higher log level would lead to too much log output (huge file sizes and latency issues due to waiting on the disk), and isn't too useful in general anyway. For debugging, the terminal can be used instead.
Diffstat (limited to 'DOCS/man/options.rst')
-rw-r--r--DOCS/man/options.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/DOCS/man/options.rst b/DOCS/man/options.rst
index c030bcc1b2..0109c5e019 100644
--- a/DOCS/man/options.rst
+++ b/DOCS/man/options.rst
@@ -443,6 +443,11 @@ Program Behavior
``bestvideo+bestaudio``.
(Default: ``best``)
+``--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.
+
Video
-----