22:04 LOG OPEN [-noopen] [-autoopen] [-window] [-] [-targets ] [-colors] [] 22:04 LOG CLOSE | 22:04 LOG START | 22:04 LOG STOP | 22:04 22:04 -noopen: Create the entry to log list, but don't start logging 22:04 -autoopen: Automatically open this log file at startup 22:04 -: Targets are logged only in this server 22:04 -targets: Log only in specified channels/nicks (space separated list) 22:04 -window: Log output in the window. Active window is used by default, or 22:04 you can give the window's refnum in -targets. 22:04 : File name where to log, it is parsed with 22:04 strftime(), so %d=day, etc. see "man strftime" for 22:04 more info. 22:04 : Defaults to ALL 22:04 : ID number of log. 22:04 22:04 /SET log_create_mode - Specifies what file mode to use with 22:04 the created log files. Default is 0644. 22:04 22:04 All of these are parsed with strftime(): /SET log_timestamp - Specifies the time stamp format. 22:04 Default is "%H:%M ". 22:04 /SET log_open_string - Text written to log when it's opened /SET log_close_string - Text written to log when it's closed /SET log_day_changed - Text written to log when day changes 22:04 22:04 NOTE: Log files are locked after opened, so two Irssis can't accidentally try to write to the same log file. 22:04 22:04 Examples: 22:04 22:04 /LOG OPEN -targets cras ~/irclogs/cras.log MSGS 22:04 - Logs all messages from/to nick `cras' 22:04 22:04 /LOG OPEN -targets #linux ~/irclogs/linux/linux-%Y-%m-%d 22:04 - Logs all messages in channel #linux. Log is rotated daily, so 22:04 logs in 1. May 2000 goes to file "linux-2000-05-01", when the 22:04 day is changed, Irssi closes the log and starts logging to 22:04 "linux-2000-05-02" etc. 22:04 22:04 See also: SET LOG, WINDOW LOG 22:04 22:04 Irssi commands: 22:04 log close log open log start log stop