2000-07-26 13:52:19 -04:00
|
|
|
|
2014-07-07 13:47:51 -04:00
|
|
|
%9Syntax:%9
|
|
|
|
|
2000-07-26 13:52:19 -04:00
|
|
|
@SYNTAX:log@
|
|
|
|
|
2014-07-07 13:47:51 -04:00
|
|
|
%9Parameters:%9
|
|
|
|
|
2014-08-07 16:00:40 -04:00
|
|
|
OPEN: Opens a log file.
|
|
|
|
CLOSE: Closes a log file.
|
2014-07-07 13:47:51 -04:00
|
|
|
START: Starts logging a log entry.
|
|
|
|
STOP: Stops logging a log entry.
|
|
|
|
|
|
|
|
-noopen: Saves the entry in the configuration, but doesn't actually
|
|
|
|
start logging.
|
|
|
|
-autoopen: Automatically opens the log at startup.
|
|
|
|
-window: Displays the output to the active window, or the window
|
|
|
|
specified in the targets parameter.
|
|
|
|
-<server tag>: The server tag the targets must be on.
|
2014-08-07 16:00:40 -04:00
|
|
|
-targets: Logs the specified nicknames or channels.
|
2014-07-07 13:47:51 -04:00
|
|
|
-colors: Also log the color codes of the messages.
|
|
|
|
|
|
|
|
The filename of the log and the levels to match; if no argument is given,
|
|
|
|
the list of open logs will be displayed.
|
|
|
|
|
|
|
|
%9Description:%9
|
|
|
|
|
2014-08-07 16:00:40 -04:00
|
|
|
Opens a log file and stores the messages of the given targets into it; the
|
|
|
|
log files will be locked so multiple clients cannot log to the same file.
|
2014-07-07 13:47:51 -04:00
|
|
|
|
2014-08-07 16:00:40 -04:00
|
|
|
You may use any of the date formats to create a log rotation; we strongly
|
2014-07-07 13:47:51 -04:00
|
|
|
recommend you to enable autolog if you are interested in keeping logs.
|
|
|
|
|
|
|
|
%9Examples:%9
|
|
|
|
|
|
|
|
/LOG OPEN -targets mike ~/irclogs/mike.log MSGS
|
2021-05-19 15:51:39 -04:00
|
|
|
/LOG OPEN -targets #irssi ~/irclogs/liberachat/irssi-%%Y-%%m-%%d
|
|
|
|
/LOG CLOSE ~/irclogs/liberachat/irssi-%%Y-%%m-%%d
|
|
|
|
/LOG STOP ~/irclogs/liberachat/irssi-%%Y-%%m-%%d
|
|
|
|
/LOG START ~/irclogs/liberachat/irssi-%%Y-%%m-%%d
|
2014-07-07 13:47:51 -04:00
|
|
|
|
|
|
|
/SET autolog ON
|
|
|
|
|
|
|
|
%9References:%9
|
|
|
|
|
|
|
|
https://github.com/irssi/irssi/blob/master/docs/formats.txt
|
|
|
|
|
|
|
|
%9See also:%9 SET LOG, WINDOW LOG
|
2000-07-26 13:52:19 -04:00
|
|
|
|