summaryrefslogtreecommitdiff
path: root/doc/en/autogen/user
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2018-02-10 08:23:47 +0100
committerSébastien Helleu <flashcode@flashtux.org>2018-02-10 08:23:47 +0100
commit710db5dbcdf10eb7ae449af8ef707f08ba77e89e (patch)
tree80cb767208a928cfe34cdff94126dd7b8d9cc126 /doc/en/autogen/user
parent1bd8998d074cc123e668dbcf892f2dc35c9df405 (diff)
downloadweechat-710db5dbcdf10eb7ae449af8ef707f08ba77e89e.zip
logger: add option logger.file.fsync (closes #1145)
Diffstat (limited to 'doc/en/autogen/user')
-rw-r--r--doc/en/autogen/user/logger_options.adoc6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/en/autogen/user/logger_options.adoc b/doc/en/autogen/user/logger_options.adoc
index 9657012c2..0a39c5aa2 100644
--- a/doc/en/autogen/user/logger_options.adoc
+++ b/doc/en/autogen/user/logger_options.adoc
@@ -26,6 +26,12 @@
** values: 0 .. 3600
** default value: `+120+`
+* [[option_logger.file.fsync]] *logger.file.fsync*
+** description: pass:none[use fsync to synchronize the log file with the storage device after the flush (see man fsync); this is slower but should prevent any data loss in case of power failure during the save of log file]
+** type: boolean
+** values: on, off
+** default value: `+off+`
+
* [[option_logger.file.info_lines]] *logger.file.info_lines*
** description: pass:none[write information line in log file when log starts or ends for a buffer]
** type: boolean