X-Git-Url: http://git.silcnet.org/gitweb/?a=blobdiff_plain;f=apps%2Firssi%2Fdocs%2Fhelp%2Fin%2Flog.in;fp=apps%2Firssi%2Fdocs%2Fhelp%2Fin%2Flog.in;h=6a61ef9f0c8e25348f70f9096f37dd01f89f064e;hb=23c5df1c8b0bfe539d3fa65802186e6e09e044aa;hp=0000000000000000000000000000000000000000;hpb=0f9738ce962b8498bbed0a75d5fb6fa127e3577f;p=silc.git diff --git a/apps/irssi/docs/help/in/log.in b/apps/irssi/docs/help/in/log.in new file mode 100644 index 00000000..6a61ef9f --- /dev/null +++ b/apps/irssi/docs/help/in/log.in @@ -0,0 +1,40 @@ + +@SYNTAX:log@ + + -noopen: Create the entry to log list, but don't start logging + -autoopen: Automatically open this log file at startup + -: Targets are logged only in this server + -targets: Log only in specified channels/nicks + -window: Log the active window + : File name where to log, it is parsed with + strftime(), so %%d=day, etc. see "man strftime" for + more info. + : Defaults to ALL + : ID number of log. + +/SET log_create_mode - Specifies what file mode to use with + the created log files. Default is 0644. + +All of these are parsed with strftime(): +/SET log_timestamp - Specifies the time stamp format. + Default is "%%H:%%M ". +/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 + +NOTE: Log files are locked after opened, so two Irssis can't +accidentally try to write to the same log file. + +Examples: + +/LOG OPEN -targets cras ~/irclogs/cras.log MSGS + - Logs all messages from/to nick `cras' + +/LOG OPEN -targets #linux ~/irclogs/linux/linux-%%Y-%%m-%%d + - Logs all messages in channel #linux. Log is rotated daily, so + logs in 1. May 2000 goes to file "linux-2000-05-01", when the + day is changed, Irssi closes the log and starts logging to + "linux-2000-05-02" etc. + +See also: SET LOG, WINDOW LOG +