summaryrefslogtreecommitdiffstats
path: root/runtime/doc/channel.txt
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-04-12 15:09:23 +0100
committerBram Moolenaar <Bram@vim.org>2022-04-12 15:09:23 +0100
commitc9a9a0ac1ec3b985d38c01ddf9f0ba2f15386f34 (patch)
treefb5fdcc958f7d680b56c8a096f033afd5874fef7 /runtime/doc/channel.txt
parent60895f3e36def9beb7d5463e792e5154ad9a7a0a (diff)
patch 8.2.4742: there is no way to start logging very early in startupv8.2.4742
Problem: There is no way to start logging very early in startup. Solution: Add the --log argument. Include the date in the start message in the log file. Avoid a duplicate message when forking. Log an executed shell command.
Diffstat (limited to 'runtime/doc/channel.txt')
-rw-r--r--runtime/doc/channel.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/doc/channel.txt b/runtime/doc/channel.txt
index a306abb488..01756f1458 100644
--- a/runtime/doc/channel.txt
+++ b/runtime/doc/channel.txt
@@ -633,8 +633,8 @@ ch_logfile({fname} [, {mode}]) *ch_logfile()*
is going on in real time.
To enable the log very early, to see what is received from a
- terminal during startup, use |--cmd|: >
- vim --cmd "call ch_logfile('logfile', 'w')"
+ terminal during startup, use |--log|: >
+ vim --log logfile
<
This function is not available in the |sandbox|.
NOTE: the channel communication is stored in the file, be