diff options
Diffstat (limited to 'src/channel.c')
-rw-r--r-- | src/channel.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/channel.c b/src/channel.c index e42c9575f..0ac971876 100644 --- a/src/channel.c +++ b/src/channel.c @@ -141,7 +141,13 @@ ch_logfile(char_u *fname, char_u *opt) FILE *file = NULL; if (log_fd != NULL) + { + if (*fname != NUL) + ch_log(NULL, "closing, opening %s", fname); + else + ch_log(NULL, "closing"); fclose(log_fd); + } if (*fname != NUL) { |