1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-05 01:03:14 +02:00

logger: add option logger.file.fsync (closes #1145)

This commit is contained in:
Sébastien Helleu
2018-02-10 08:23:47 +01:00
parent 1bd8998d07
commit 710db5dbcd
23 changed files with 163 additions and 19 deletions
+6
View File
@@ -26,6 +26,12 @@
** Werte: 0 .. 3600
** Standardwert: `+120+`
* [[option_logger.file.fsync]] *logger.file.fsync*
** Beschreibung: 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]
** Typ: boolesch
** Werte: on, off
** Standardwert: `+off+`
* [[option_logger.file.info_lines]] *logger.file.info_lines*
** Beschreibung: pass:none[fügt eine Information in die Protokoll-Datei ein, wenn die Protokollierung gestartet oder beendet wird]
** Typ: boolesch
+6
View File
@@ -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
+6
View File
@@ -26,6 +26,12 @@
** valeurs: 0 .. 3600
** valeur par défaut: `+120+`
* [[option_logger.file.fsync]] *logger.file.fsync*
** description: pass:none[utiliser fsync pour synchroniser le fichier de log avec le périphérique de stockage après le flush (voir man fsync) ; cela est plus lent mais devrait éviter toute perte de données en cas de panne de courant durant la sauvegarde du fichier de log]
** type: booléen
** valeurs: on, off
** valeur par défaut: `+off+`
* [[option_logger.file.info_lines]] *logger.file.info_lines*
** description: pass:none[écrire une ligne d'information dans le fichier log quand le log démarre ou se termine pour un tampon]
** type: booléen
+6
View File
@@ -26,6 +26,12 @@
** valori: 0 .. 3600
** valore predefinito: `+120+`
* [[option_logger.file.fsync]] *logger.file.fsync*
** descrizione: 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]
** tipo: bool
** valori: on, off
** valore predefinito: `+off+`
* [[option_logger.file.info_lines]] *logger.file.info_lines*
** descrizione: pass:none[scrive una riga informativa nel file di log quando il log inizia o termina per un buffer]
** tipo: bool
+6
View File
@@ -26,6 +26,12 @@
** 値: 0 .. 3600
** デフォルト値: `+120+`
* [[option_logger.file.fsync]] *logger.file.fsync*
** 説明: 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]
** タイプ: ブール
** 値: on, off
** デフォルト値: `+off+`
* [[option_logger.file.info_lines]] *logger.file.info_lines*
** 説明: pass:none[バッファのログ保存の開始時と終了時にログファイルへ情報行を書き込む]
** タイプ: ブール
+6
View File
@@ -26,6 +26,12 @@
** wartości: 0 .. 3600
** domyślna wartość: `+120+`
* [[option_logger.file.fsync]] *logger.file.fsync*
** opis: 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]
** typ: bool
** wartości: on, off
** domyślna wartość: `+off+`
* [[option_logger.file.info_lines]] *logger.file.info_lines*
** opis: pass:none[zapisuje informacje w pliku z logami o rozpoczęciu i zakończeniu logowania buforu]
** typ: bool