From 7711ed95c5959be5b4fa75b6366a653ce3308a9d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Wed, 28 Sep 2022 20:32:12 +0200 Subject: 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 --- po/cs.po | 54 +++++++++++++++++++++++++++++++++++++++++------------- 1 file changed, 41 insertions(+), 13 deletions(-) (limited to 'po/cs.po') diff --git a/po/cs.po b/po/cs.po index cac5124b0..83f68f287 100644 --- a/po/cs.po +++ b/po/cs.po @@ -21,7 +21,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2022-09-18 23:16+0200\n" +"POT-Creation-Date: 2022-09-28 20:50+0200\n" "PO-Revision-Date: 2022-06-18 16:11+0200\n" "Last-Translator: Ondřej Súkup \n" "Language-Team: weechat-dev \n" @@ -10216,18 +10216,6 @@ msgstr "%s%s: odpojen od serveru" msgid "%s===\t%s========== End of backlog (%d lines) ==========" msgstr "%s===\t%s========== konec backlogu (%d řádků) ==========" -#, fuzzy -msgid "Log buffers to files" -msgstr "konfigurační soubory" - -#, c-format -msgid "" -"%s%s: unable to find filename mask for buffer \"%s\", logging is disabled " -"for this buffer" -msgstr "" -"%s%s: nemohu najít jméno souboru masky pro buffer \"%s\", logování pro tento " -"buffer je vypnuto" - #, c-format msgid "%s%s: not enough memory" msgstr "%s%s: nedostatek paměti" @@ -10260,6 +10248,18 @@ msgstr "%s\t**** Začátek logu ****" msgid "%s\t**** End of log ****" msgstr "%s\t**** Konec logu ****" +#, fuzzy +msgid "Log buffers to files" +msgstr "konfigurační soubory" + +#, c-format +msgid "" +"%s%s: unable to find filename mask for buffer \"%s\", logging is disabled " +"for this buffer" +msgstr "" +"%s%s: nemohu najít jméno souboru masky pro buffer \"%s\", logování pro tento " +"buffer je vypnuto" + msgid "Logging on buffers:" msgstr "Loguji buffery:" @@ -10443,6 +10443,34 @@ msgstr "" "nahrazovací znak pro speciální znaky ve jménu souboru vytvářeného pomocí " "masky (například dělič adresářů)" +msgid "" +"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" +msgstr "" + +msgid "" +"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" +msgstr "" + +msgid "" +"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" +msgstr "" + msgid "timestamp used in log files (see man strftime for date/time specifiers)" msgstr "" "časová známka použita v logovacích souborech (použijte manuálovou stránku " -- cgit v1.2.3