summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/de/weechat_user.de.adoc43
-rw-r--r--doc/en/weechat_user.en.adoc42
-rw-r--r--doc/fr/weechat_user.fr.adoc43
-rw-r--r--doc/it/weechat_user.it.adoc43
-rw-r--r--doc/ja/weechat_user.ja.adoc43
-rw-r--r--doc/pl/weechat_user.pl.adoc43
-rw-r--r--doc/sr/weechat_user.sr.adoc43
7 files changed, 300 insertions, 0 deletions
diff --git a/doc/de/weechat_user.de.adoc b/doc/de/weechat_user.de.adoc
index 88fd0e7e6..df22af286 100644
--- a/doc/de/weechat_user.de.adoc
+++ b/doc/de/weechat_user.de.adoc
@@ -2475,6 +2475,49 @@ Erstellt eine Struktur in folgender Form:
...
....
+// TRANSLATION MISSING
+[[logger_rotation_compression]]
+==== Rotation and compression
+
+It is possible to define a max size for log files, and when it is reached,
+there is automatic rotation of log file.
+
+The rotated log files can be compressed with gzip or
+https://facebook.github.io/zstd/[zstd ^↗^,window=_blank].
+
+[NOTE]
+As the compression of a file can take some time, it is performed in background.
+
+Example with a max size of 2GB and compression with gzip, using good compression
+level (slower than default one):
+
+----
+/set logger.file.rotation_compression_type gzip
+/set logger.file.rotation_compression_level 80
+/set logger.file.rotation_size_max "2g"
+----
+
+If you want to use a decimal number, you can use the unit below and multiply
+by 1000, for example to set max size to 2.5GB:
+
+----
+/set logger.file.rotation_size_max "2500m"
+----
+
+With these settings, you'll end with files like these ones (in this example
+there is rotation only for the log of #weechat channel):
+
+....
+~/.local/share/weechat
+└── logs
+ ├── core.weechat.weechatlog
+ ├── irc.server.libera.weechatlog
+ ├── irc.libera.#weechat.weechatlog
+ ├── irc.libera.#weechat.weechatlog.1.gz
+ ├── irc.libera.#weechat.weechatlog.2.gz
+ └── irc.libera.#weechat.weechatlog.3.gz
+....
+
[[logger_commands]]
==== Befehle
diff --git a/doc/en/weechat_user.en.adoc b/doc/en/weechat_user.en.adoc
index a5bab362a..332f96410 100644
--- a/doc/en/weechat_user.en.adoc
+++ b/doc/en/weechat_user.en.adoc
@@ -2430,6 +2430,48 @@ You'll have following files:
...
....
+[[logger_rotation_compression]]
+==== Rotation and compression
+
+It is possible to define a max size for log files, and when it is reached,
+there is automatic rotation of log file.
+
+The rotated log files can be compressed with gzip or
+https://facebook.github.io/zstd/[zstd ^↗^,window=_blank].
+
+[NOTE]
+As the compression of a file can take some time, it is performed in background.
+
+Example with a max size of 2GB and compression with gzip, using good compression
+level (slower than default one):
+
+----
+/set logger.file.rotation_compression_type gzip
+/set logger.file.rotation_compression_level 80
+/set logger.file.rotation_size_max "2g"
+----
+
+If you want to use a decimal number, you can use the unit below and multiply
+by 1000, for example to set max size to 2.5GB:
+
+----
+/set logger.file.rotation_size_max "2500m"
+----
+
+With these settings, you'll end with files like these ones (in this example
+there is rotation only for the log of #weechat channel):
+
+....
+~/.local/share/weechat
+└── logs
+ ├── core.weechat.weechatlog
+ ├── irc.server.libera.weechatlog
+ ├── irc.libera.#weechat.weechatlog
+ ├── irc.libera.#weechat.weechatlog.1.gz
+ ├── irc.libera.#weechat.weechatlog.2.gz
+ └── irc.libera.#weechat.weechatlog.3.gz
+....
+
[[logger_commands]]
==== Commands
diff --git a/doc/fr/weechat_user.fr.adoc b/doc/fr/weechat_user.fr.adoc
index 03addfbea..9737693b3 100644
--- a/doc/fr/weechat_user.fr.adoc
+++ b/doc/fr/weechat_user.fr.adoc
@@ -2499,6 +2499,49 @@ Vous obtiendrez les fichiers suivants :
...
....
+[[logger_rotation_compression]]
+==== Rotation et compression
+
+Il est possible de définir une taille maximale pour les fichiers de logs, et
+lorsqu'elle est atteinte, il y a une rotation automatique du fichier de log.
+
+Les fichiers de logs qui ont tourné peuvent être compressés avec gzip ou
+https://facebook.github.io/zstd/[zstd ^↗^,window=_blank].
+
+[NOTE]
+La compression du fichier pouvant prendre du temps, elle est exécutée en tâche
+de fond.
+
+Exemple avec une taille maximale de 2 Go et la compression avec gzip, en utilisant
+un bon niveau de compression (plus lent que celui par défaut) :
+
+----
+/set logger.file.rotation_compression_type gzip
+/set logger.file.rotation_compression_level 80
+/set logger.file.rotation_size_max "2g"
+----
+
+Si vous voulez utiliser un nombre décimal, vous pouvez utiliser l'unité en
+dessous et multiplier par 1000, par exemple pour une taille maximale de 2,5 Go :
+
+----
+/set logger.file.rotation_size_max "2500m"
+----
+
+Avec cette configuration, vous aurez des fichiers comme ceux-ci (dans cet exemple
+il y a eu une rotation seulement pour le log du canal "#weechat"):
+
+....
+~/.local/share/weechat
+└── logs
+ ├── core.weechat.weechatlog
+ ├── irc.server.libera.weechatlog
+ ├── irc.libera.#weechat.weechatlog
+ ├── irc.libera.#weechat.weechatlog.1.gz
+ ├── irc.libera.#weechat.weechatlog.2.gz
+ └── irc.libera.#weechat.weechatlog.3.gz
+....
+
[[logger_commands]]
==== Commandes
diff --git a/doc/it/weechat_user.it.adoc b/doc/it/weechat_user.it.adoc
index 12942dc98..0c610c15f 100644
--- a/doc/it/weechat_user.it.adoc
+++ b/doc/it/weechat_user.it.adoc
@@ -2652,6 +2652,49 @@ Si avranno i seguenti file:
...
....
+// TRANSLATION MISSING
+[[logger_rotation_compression]]
+==== Rotation and compression
+
+It is possible to define a max size for log files, and when it is reached,
+there is automatic rotation of log file.
+
+The rotated log files can be compressed with gzip or
+https://facebook.github.io/zstd/[zstd ^↗^,window=_blank].
+
+[NOTE]
+As the compression of a file can take some time, it is performed in background.
+
+Example with a max size of 2GB and compression with gzip, using good compression
+level (slower than default one):
+
+----
+/set logger.file.rotation_compression_type gzip
+/set logger.file.rotation_compression_level 80
+/set logger.file.rotation_size_max "2g"
+----
+
+If you want to use a decimal number, you can use the unit below and multiply
+by 1000, for example to set max size to 2.5GB:
+
+----
+/set logger.file.rotation_size_max "2500m"
+----
+
+With these settings, you'll end with files like these ones (in this example
+there is rotation only for the log of #weechat channel):
+
+....
+~/.local/share/weechat
+└── logs
+ ├── core.weechat.weechatlog
+ ├── irc.server.libera.weechatlog
+ ├── irc.libera.#weechat.weechatlog
+ ├── irc.libera.#weechat.weechatlog.1.gz
+ ├── irc.libera.#weechat.weechatlog.2.gz
+ └── irc.libera.#weechat.weechatlog.3.gz
+....
+
[[logger_commands]]
==== Comandi
diff --git a/doc/ja/weechat_user.ja.adoc b/doc/ja/weechat_user.ja.adoc
index b4f0b02bf..f1b24b94c 100644
--- a/doc/ja/weechat_user.ja.adoc
+++ b/doc/ja/weechat_user.ja.adoc
@@ -2550,6 +2550,49 @@ IRC サーバ名を使ったディレクトリに、チャンネル名を使っ
...
....
+// TRANSLATION MISSING
+[[logger_rotation_compression]]
+==== Rotation and compression
+
+It is possible to define a max size for log files, and when it is reached,
+there is automatic rotation of log file.
+
+The rotated log files can be compressed with gzip or
+https://facebook.github.io/zstd/[zstd ^↗^,window=_blank].
+
+[NOTE]
+As the compression of a file can take some time, it is performed in background.
+
+Example with a max size of 2GB and compression with gzip, using good compression
+level (slower than default one):
+
+----
+/set logger.file.rotation_compression_type gzip
+/set logger.file.rotation_compression_level 80
+/set logger.file.rotation_size_max "2g"
+----
+
+If you want to use a decimal number, you can use the unit below and multiply
+by 1000, for example to set max size to 2.5GB:
+
+----
+/set logger.file.rotation_size_max "2500m"
+----
+
+With these settings, you'll end with files like these ones (in this example
+there is rotation only for the log of #weechat channel):
+
+....
+~/.local/share/weechat
+└── logs
+ ├── core.weechat.weechatlog
+ ├── irc.server.libera.weechatlog
+ ├── irc.libera.#weechat.weechatlog
+ ├── irc.libera.#weechat.weechatlog.1.gz
+ ├── irc.libera.#weechat.weechatlog.2.gz
+ └── irc.libera.#weechat.weechatlog.3.gz
+....
+
[[logger_commands]]
==== コマンド
diff --git a/doc/pl/weechat_user.pl.adoc b/doc/pl/weechat_user.pl.adoc
index 38852e253..a87d693f2 100644
--- a/doc/pl/weechat_user.pl.adoc
+++ b/doc/pl/weechat_user.pl.adoc
@@ -2464,6 +2464,49 @@ Spowoduje powstanie następującej struktury:
...
....
+// TRANSLATION MISSING
+[[logger_rotation_compression]]
+==== Rotation and compression
+
+It is possible to define a max size for log files, and when it is reached,
+there is automatic rotation of log file.
+
+The rotated log files can be compressed with gzip or
+https://facebook.github.io/zstd/[zstd ^↗^,window=_blank].
+
+[NOTE]
+As the compression of a file can take some time, it is performed in background.
+
+Example with a max size of 2GB and compression with gzip, using good compression
+level (slower than default one):
+
+----
+/set logger.file.rotation_compression_type gzip
+/set logger.file.rotation_compression_level 80
+/set logger.file.rotation_size_max "2g"
+----
+
+If you want to use a decimal number, you can use the unit below and multiply
+by 1000, for example to set max size to 2.5GB:
+
+----
+/set logger.file.rotation_size_max "2500m"
+----
+
+With these settings, you'll end with files like these ones (in this example
+there is rotation only for the log of #weechat channel):
+
+....
+~/.local/share/weechat
+└── logs
+ ├── core.weechat.weechatlog
+ ├── irc.server.libera.weechatlog
+ ├── irc.libera.#weechat.weechatlog
+ ├── irc.libera.#weechat.weechatlog.1.gz
+ ├── irc.libera.#weechat.weechatlog.2.gz
+ └── irc.libera.#weechat.weechatlog.3.gz
+....
+
[[logger_commands]]
==== Komendy
diff --git a/doc/sr/weechat_user.sr.adoc b/doc/sr/weechat_user.sr.adoc
index dbfdbf601..1bc872c79 100644
--- a/doc/sr/weechat_user.sr.adoc
+++ b/doc/sr/weechat_user.sr.adoc
@@ -2289,6 +2289,49 @@ logger.file.mask
...
....
+// TRANSLATION MISSING
+[[logger_rotation_compression]]
+==== Rotation and compression
+
+It is possible to define a max size for log files, and when it is reached,
+there is automatic rotation of log file.
+
+The rotated log files can be compressed with gzip or
+https://facebook.github.io/zstd/[zstd ^↗^,window=_blank].
+
+[NOTE]
+As the compression of a file can take some time, it is performed in background.
+
+Example with a max size of 2GB and compression with gzip, using good compression
+level (slower than default one):
+
+----
+/set logger.file.rotation_compression_type gzip
+/set logger.file.rotation_compression_level 80
+/set logger.file.rotation_size_max "2g"
+----
+
+If you want to use a decimal number, you can use the unit below and multiply
+by 1000, for example to set max size to 2.5GB:
+
+----
+/set logger.file.rotation_size_max "2500m"
+----
+
+With these settings, you'll end with files like these ones (in this example
+there is rotation only for the log of #weechat channel):
+
+....
+~/.local/share/weechat
+└── logs
+ ├── core.weechat.weechatlog
+ ├── irc.server.libera.weechatlog
+ ├── irc.libera.#weechat.weechatlog
+ ├── irc.libera.#weechat.weechatlog.1.gz
+ ├── irc.libera.#weechat.weechatlog.2.gz
+ └── irc.libera.#weechat.weechatlog.3.gz
+....
+
[[logger_commands]]
==== Команде