summaryrefslogtreecommitdiff
path: root/doc/it
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2022-09-28 20:32:12 +0200
committerSébastien Helleu <flashcode@flashtux.org>2022-09-28 20:52:59 +0200
commit7711ed95c5959be5b4fa75b6366a653ce3308a9d (patch)
treee395b8da0487bea8b124b40a76ed4602f339451c /doc/it
parent26e6fdc64561d7575b3c937a9bb4f39cc8c0954f (diff)
downloadweechat-7711ed95c5959be5b4fa75b6366a653ce3308a9d.zip
logger: add options to rotate and compress log files (closes #314)
New options: - logger.file.rotation_compression_level - logger.file.rotation_compression_type - logger.file.rotation_size_max
Diffstat (limited to 'doc/it')
-rw-r--r--doc/it/includes/autogen_user_options.it.adoc18
-rw-r--r--doc/it/weechat_user.it.adoc46
2 files changed, 53 insertions, 11 deletions
diff --git a/doc/it/includes/autogen_user_options.it.adoc b/doc/it/includes/autogen_user_options.it.adoc
index 2c21a3093..04ccedf76 100644
--- a/doc/it/includes/autogen_user_options.it.adoc
+++ b/doc/it/includes/autogen_user_options.it.adoc
@@ -1468,6 +1468,24 @@
** valori: qualsiasi stringa
** valore predefinito: `+"_"+`
+* [[option_logger.file.rotation_compression_level]] *logger.file.rotation_compression_level*
+** descrizione: pass:none[compression level for rotated log files (with extension ".1", ".2", etc.), if option logger.file.rotation_compression_type is enabled: 1 = low compression / fast ... 100 = best compression / slow; the value is a percentage converted to 1-9 for gzip and 1-19 for zstd; the default value is recommended, it offers a good compromise between compression and speed]
+** tipo: intero
+** valori: 1 .. 100
+** valore predefinito: `+20+`
+
+* [[option_logger.file.rotation_compression_type]] *logger.file.rotation_compression_type*
+** descrizione: pass:none[compression type for rotated log files; if set to "none", rotated log files are not compressed; WARNING: if rotation was enabled with another type of compression (or no compression), you must first unload the logger plugin, compress files with the new type (or decompress files), then change the option in logger.conf, then load the logger plugin]
+** tipo: intero
+** valori: none, gzip, zstd
+** valore predefinito: `+none+`
+
+* [[option_logger.file.rotation_size_max]] *logger.file.rotation_size_max*
+** descrizione: pass:none[when this size is reached, a rotation of log files is performed: the existing rotated log files are renamed (.1 becomes .2, .2 becomes .3, etc.) and the current file is renamed with extension .1; an integer number with a suffix is allowed: b = bytes (default if no unit given), k = kilobytes, m = megabytes, g = gigabytes, t = terabytes; example: "2g" causes a rotation if the file size is > 2,000,000,000 bytes; if set to "0", no rotation is performed (unlimited log size); WARNING: before changing this option, you should first set the compression type via option logger.file.rotation_compression_type]
+** tipo: stringa
+** valori: qualsiasi stringa
+** valore predefinito: `+"0"+`
+
* [[option_logger.file.time_format]] *logger.file.time_format*
** descrizione: pass:none[data e ora usati nei file di log (consultare man strftime per gli specificatori di data/ora)]
** tipo: stringa
diff --git a/doc/it/weechat_user.it.adoc b/doc/it/weechat_user.it.adoc
index c350e08b0..12942dc98 100644
--- a/doc/it/weechat_user.it.adoc
+++ b/doc/it/weechat_user.it.adoc
@@ -131,22 +131,45 @@ WeeChat:
[width="100%",cols="5,^3,.^15",options="header"]
|===
-| Pacchetto ^(1)^ | Versione | Caratteristica
// TRANSLATION MISSING
-| C compiler (gcc / clang) | | Build.
-| cmake | ≥ 3.0 | Compilazione (ancora possibile con autotools, ma si raccomanda CMake).
+| Pacchetto ^(1)^ | Versione | Features
+
// TRANSLATION MISSING
-| pkg-config | | Detect installed libraries.
-| libncursesw5-dev ^(2)^ | | Interfaccia ncurses.
-| libcurl4-gnutls-dev | | Trasferimento URL.
+| C compiler (gcc / clang) |
+| Build.
+
+| cmake | ≥ 3.0
+| Compilazione (ancora possibile con autotools, ma si raccomanda CMake).
+
// TRANSLATION MISSING
-| libgcrypt20-dev | | Secured data, IRC SASL authentication.
+| pkg-config |
+| Detect installed libraries.
+
+| libncursesw5-dev ^(2)^ |
+| Interfaccia ncurses.
+
+| libcurl4-gnutls-dev |
+| Trasferimento URL.
+
// TRANSLATION MISSING
-| libgnutls28-dev | ≥ 2.2.0 ^(3)^ | Connessione SSL al server IRC, support of SSL in relay plugin, IRC SASL authentication (ECDSA-NIST256P-CHALLENGE).
+| libgcrypt20-dev |
+| Secured data, IRC SASL authentication.
+
// TRANSLATION MISSING
-| zlib1g-dev | | Compression of messages (WeeChat -> client) with https://zlib.net/[zlib ^↗^,window=_blank] in relay plugin (weechat protocol), script plugin.
+| libgnutls28-dev | ≥ 2.2.0 ^(3)^
+| IRC plugin: support of TLS connections, IRC SASL authentication (ECDSA-NIST256P-CHALLENGE). +
+ Relay plugin: support of TLS connections.
+
// TRANSLATION MISSING
-| libzstd-dev | | Compression of messages (WeeChat -> client) with https://facebook.github.io/zstd/[Zstandard ^↗^,window=_blank] in relay plugin (weechat protocol).
+| zlib1g-dev |
+| Logger plugin: compression of rotated log files (gzip). +
+ Relay plugin: compression of messages (WeeChat -> client) with https://zlib.net/[zlib ^↗^,window=_blank] (weechat protocol). +
+ Script plugin: read of repository index file (gzip).
+
+// TRANSLATION MISSING
+| libzstd-dev |
+| Logger plugin: compression of rotated log files. +
+ Relay plugin: compression of messages (WeeChat -> client) with https://facebook.github.io/zstd/[Zstandard ^↗^,window=_blank] (weechat protocol).
|===
[NOTE]
@@ -167,7 +190,8 @@ WeeChat:
[width="100%",cols="5,^3,.^15",options="header"]
|===
-| Pacchetto ^(1)^ | Versione | Caratteristica
+// TRANSLATION MISSING
+| Pacchetto ^(1)^ | Versione | Features
// TRANSLATION MISSING
| {cpp} compiler (pass:[g++ / clang++]) | | Build and run tests, plugin JavaScript.
| gettext | | Internazionalizzazione (traduzione dei messaggi; la lingua base è l'inglese).