window: logging

Syntax

WINDOW LOG on|off|toggle [<filename>]
WINDOW LOGFILE <file>

Parameters

LOG:

Turn on or off logging of the active window, optionally specifying the log file to use.

LOGFILE:

Sets the location of the log file to use for window logging without starting to log.

Add the required arguments for the given command. Without arguments, the details (size, immortality, levels, server, name and sticky group) of the currently active window are displayed. If used with a number as argument, same as WINDOW REFNUM.

LEVEL and HIDELEVEL modify the currently set level. Without arguments, the current level is displayed. Levels listed starting with + are added to the current levels. Levels listed starting with - are removed from the current levels. To clear the levels, start the new level setting with NONE. Levels listed starting with ^ are either removed or added from the current setting, depending on whether they were previously set or not (since Irssi 1.4.4). Levels listed as is are also added to the current levels. Afterwards, the new level setting is displayed.

Description

Manipulates the window layout and positioning attributes.

Examples

/WINDOW LOG OFF
/WINDOW LOG ON ~/logs/debug.log
/WINDOW LOGFILE ~/logs/notices.log

See also

JOIN, LEVELS, LOG, QUERY, SET window_default_level, SET window_default_hidelevel