Pastebin

Paste #474: irssi log

< previous paste - next paste>

Pasted by tdn

Download View as text

22:04 LOG OPEN [-noopen] [-autoopen] [-window] [-<server tag>] [-targets <targets>] [-colors] <fname> [<levels>]
22:04 LOG CLOSE <id>|<file>
22:04 LOG START <id>|<file>
22:04 LOG STOP <id>|<file>
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      -<server tag>: 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      <filename>: 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      <levels>: Defaults to ALL
22:04      <id>: ID number of log.
22:04
22:04 /SET log_create_mode <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 <text> - Specifies the time stamp format.
22:04      Default is "%H:%M ".
22:04 /SET log_open_string <text> - Text written to log when it's opened /SET log_close_string <text> - Text written to log when it's closed /SET log_day_changed <text> - 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

New Paste


Do not write anything in this field if you're a human.

Go to most recent paste.