diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-04-12 15:09:23 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-04-12 15:09:23 +0100 |
commit | c9a9a0ac1ec3b985d38c01ddf9f0ba2f15386f34 (patch) | |
tree | fb5fdcc958f7d680b56c8a096f033afd5874fef7 /runtime/doc/channel.txt | |
parent | 60895f3e36def9beb7d5463e792e5154ad9a7a0a (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.txt | 4 |
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 |