summaryrefslogtreecommitdiff
path: root/doc/en/autogen/logger_commands.xml
blob: 8ff74f27e3d39a0bbd10217fb21688f4e863fc28 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<?xml version="1.0" encoding="UTF-8"?>
<!--
     ********* WARNING! *********

     This file is autogenerated with docgen.pl script. *** DO NOT EDIT! ***
     docgen.pl builds XML doc files to include in many languages
-->

<command>logger  [list | set level | disable]</command>
<programlisting>
logger plugin configuration

   list: show logging status for open 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)
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.

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

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
</programlisting>