summaryrefslogtreecommitdiff
path: root/doc/de
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2010-12-11 22:03:21 +0100
committerSebastien Helleu <flashcode@flashtux.org>2010-12-11 22:03:21 +0100
commit4669eac3726a641978b3cc1b0716b67b3eec4050 (patch)
tree316fcd262dd7d1fe6bd5488639820039b321fb4b /doc/de
parentcabf0c4bc1c716d11847fbe2bbf76cf27b6bb3fb (diff)
downloadweechat-4669eac3726a641978b3cc1b0716b67b3eec4050.zip
Add date format for logger masks in user guide
Diffstat (limited to 'doc/de')
-rw-r--r--doc/de/CMakeLists.txt2
-rw-r--r--doc/de/weechat_user.de.txt51
2 files changed, 49 insertions, 4 deletions
diff --git a/doc/de/CMakeLists.txt b/doc/de/CMakeLists.txt
index 6e8a599df..4a0db58e6 100644
--- a/doc/de/CMakeLists.txt
+++ b/doc/de/CMakeLists.txt
@@ -20,7 +20,7 @@
# user's guide
ADD_CUSTOM_COMMAND(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_user.de.html
- COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a toc -a toclevels=3 -a toc-title='Inhaltsverzeichnis' -a date=`date "+%F"` -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_user.de.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_user.de.txt
+ COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a toc -a toclevels=4 -a toc-title='Inhaltsverzeichnis' -a date=`date "+%F"` -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_user.de.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_user.de.txt
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/weechat_user.de.txt
${CMAKE_CURRENT_SOURCE_DIR}/autogen/user/*.txt
diff --git a/doc/de/weechat_user.de.txt b/doc/de/weechat_user.de.txt
index b369cdef7..9099daaa3 100644
--- a/doc/de/weechat_user.de.txt
+++ b/doc/de/weechat_user.de.txt
@@ -1544,14 +1544,59 @@ mit lokalen Buffervariablen zu füllen. Um zu sehen welche lokalen Variabel es g
/buffer localvar
----------------------------------------
-Möchten Sie zum Beispiel ein Verzeichnis für jeden IRC Server in dem eine Datei
-für jeden Channel erstellt wird nutzen Sie:
+// TRANSLATION MISSING
+For example, on buffer "irc.freenode.#weechat", WeeChat will search a mask with
+option name, in this order:
+
+----------------------------------------
+logger.mask.irc.freenode.#weechat
+logger.mask.irc.freenode
+logger.mask.irc
+logger.file.mask
+----------------------------------------
+
+That means you can have masks specific for some IRC servers
+("logger.mask.irc.freenode") or for a plugin ("logger.mask.irc").
+
+// TRANSLATION MISSING
+[[logger_files_by_date]]
+Log files by date
++++++++++++++++++
+
+To have log files by date, you can use date/time specifiers in mask (see
+`man strftime` for formats), for example:
+
+----------------------------------------
+/set logger.file.mask "%Y/%m/$plugin.$name.weechatlog"
+----------------------------------------
+
+You'll have following files:
+
+........................................
+~/.weechat/
+ |--- logs/
+ |--- 2010/
+ |--- 11/
+ | irc.server.freenode.weechatlog
+ | irc.freenode.#weechat.weechatlog
+ |--- 2010/
+ |--- 12/
+ | irc.server.freenode.weechatlog
+ | irc.freenode.#weechat.weechatlog
+........................................
+
+// TRANSLATION MISSING
+[[logger_irc_files_by_server_channel]]
+IRC log files by server and channel
++++++++++++++++++++++++++++++++++++
+
+If you want one directory by IRC server and one file by channel inside:
----------------------------------------
/set logger.mask.irc "irc/$server/$channel.weechatlog"
----------------------------------------
-In einer Baumstruktur sieht es dann wie folgt aus:
+You'll have following files:
........................................
~/.weechat/