1
0
mirror of https://github.com/irssi/irssi.git synced 2024-11-03 04:27:19 -05:00
irssi/docs/help/in/log.in
Geert Hauwaerts 5e8947a8b0 Syntax documentation rewrite for L-commands
Rewrote the syntax documentation for all commands starting with L.
2014-07-07 19:47:51 +02:00

49 lines
1.6 KiB
Plaintext

%9Syntax:%9
@SYNTAX:log@
%9Parameters:%9
OPEN: Opens a logfile.
CLOSE: Closes a logfile.
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.
-targets: Logs the specified nickhames or channels.
-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
Opens a logfile and stores the messages of the given targets into it; the
logfiles will be locked so multiple clients cannot log to the same file.
You may use any of the date formats to create a logrotation; we strongly
recommend you to enable autolog if you are interested in keeping logs.
%9Examples:%9
/LOG OPEN -targets mike ~/irclogs/mike.log MSGS
/LOG OPEN -targets #irssi-freenode ~/irclogs/freenode/irssi-%%Y-%%m-%%d
/LOG CLOSE ~/irclogs/freenode/irssi-%%Y-%%m-%%d
/LOG STOP ~/irclogs/freenode/irssi-%%Y-%%m-%%d
/LOG START ~/irclogs/freenode/irssi-%%Y-%%m-%%d
/SET autolog ON
%9References:%9
https://github.com/irssi/irssi/blob/master/docs/formats.txt
%9See also:%9 SET LOG, WINDOW LOG