4 -noopen: Create the entry to log list, but don't start logging
5 -autoopen: Automatically open this log file at startup
6 -<server tag>: Targets are logged only in this server
7 -targets: Log only in specified channels/nicks
8 -window: Log the active window
9 <filename>: File name where to log, it is parsed with
10 strftime(), so %%d=day, etc. see "man strftime" for
12 <levels>: Defaults to ALL
13 <id>: ID number of log.
15 /SET log_create_mode <mode> - Specifies what file mode to use with
16 the created log files. Default is 0644.
18 All of these are parsed with strftime():
19 /SET log_timestamp <text> - Specifies the time stamp format.
20 Default is "%%H:%%M ".
21 /SET log_open_string <text> - Text written to log when it's opened
22 /SET log_close_string <text> - Text written to log when it's closed
23 /SET log_day_changed <text> - Text written to log when day changes
25 NOTE: Log files are locked after opened, so two Irssis can't
26 accidentally try to write to the same log file.
30 /LOG OPEN -targets cras ~/irclogs/cras.log MSGS
31 - Logs all messages from/to nick `cras'
33 /LOG OPEN -targets #linux ~/irclogs/linux/linux-%%Y-%%m-%%d
34 - Logs all messages in channel #linux. Log is rotated daily, so
35 logs in 1. May 2000 goes to file "linux-2000-05-01", when the
36 day is changed, Irssi closes the log and starts logging to
37 "linux-2000-05-02" etc.
39 See also: SET LOG, WINDOW LOG