summaryrefslogtreecommitdiff
path: root/doc/en/autogen/user/logger_commands.asciidoc
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2014-05-25 12:25:58 +0200
committerSébastien Helleu <flashcode@flashtux.org>2014-05-25 12:47:24 +0200
commitdc0229617ada67fd02815bbc94b245871248b9db (patch)
tree0af7418d7f3ebf8082408fa2ee9e73f5a572360f /doc/en/autogen/user/logger_commands.asciidoc
parent76a066c9cca620e1204815f63abbfa8b09f162c6 (diff)
downloadweechat-dc0229617ada67fd02815bbc94b245871248b9db.zip
doc: use .asciidoc extension instead of .txt for doc files
Diffstat (limited to 'doc/en/autogen/user/logger_commands.asciidoc')
-rw-r--r--doc/en/autogen/user/logger_commands.asciidoc37
1 files changed, 37 insertions, 0 deletions
diff --git a/doc/en/autogen/user/logger_commands.asciidoc b/doc/en/autogen/user/logger_commands.asciidoc
new file mode 100644
index 000000000..9391257ae
--- /dev/null
+++ b/doc/en/autogen/user/logger_commands.asciidoc
@@ -0,0 +1,37 @@
+[[command_logger_logger]]
+[command]*`logger`* logger plugin configuration::
+
+----
+/logger list
+ set <level>
+ flush
+ disable
+
+ list: show logging status for opened buffers
+ set: set logging level on current buffer
+ level: level for messages to be logged (0 = logging disabled, 1 = a few messages (most important) .. 9 = all messages)
+ flush: write all log files now
+disable: disable logging on current buffer (set level to 0)
+
+Options "logger.level.*" and "logger.mask.*" can be used to set level or mask for a buffer, or buffers beginning with name.
+
+Log levels used by IRC plugin:
+ 1: user message, notice, private
+ 2: nick change
+ 3: server message
+ 4: join/part/quit
+ 9: all other messages
+
+Examples:
+ set level to 5 for current buffer:
+ /logger set 5
+ disable logging for current buffer:
+ /logger disable
+ set level to 3 for all IRC buffers:
+ /set logger.level.irc 3
+ disable logging for main WeeChat buffer:
+ /set logger.level.core.weechat 0
+ use a directory per IRC server and a file per channel inside:
+ /set logger.mask.irc "$server/$channel.weechatlog"
+----
+