Merged from silc_1_0_branch.
[silc.git] / apps / irssi / docs / help / in / log.in
1
2 @SYNTAX:log@
3
4      -noopen: Create the entry to log list, but don't start logging
5      -autoopen: Automatically open this log file at startup
6      -<server tag>: Targets are logged only in this server
7      -targets: Log only in specified channels/nicks
8      -window: Log the active window
9      <filename>: File name where to log, it is parsed with
10                  strftime(), so %%d=day, etc. see "man strftime" for
11                  more info.
12      <levels>: Defaults to ALL
13      <id>: ID number of log.   
14
15 /SET log_create_mode <mode> - Specifies what file mode to use with
16      the created log files. Default is 0644.
17
18 All of these are parsed with strftime():
19 /SET log_timestamp <text> - Specifies the time stamp format.
20      Default is "%%H:%%M ".
21 /SET log_open_string <text> - Text written to log when it's opened
22 /SET log_close_string <text> - Text written to log when it's closed
23 /SET log_day_changed <text> - Text written to log when day changes
24
25 NOTE: Log files are locked after opened, so two clients can't
26 accidentally try to write to the same log file.
27
28 Examples:
29         
30 /LOG OPEN -targets Toni ~/silclogs/Toni.log MSGS
31      - Logs all messages from/to nick `Toni'
32
33 /LOG OPEN -targets silc ~/silclogs/silc/silc-%%Y-%%m-%%d
34      - Logs all messages in channel silc. Log is rotated daily, so
35        logs in 1. May 2000 goes to file "silc-2000-05-01", when the
36        day is changed the log is closed and new log is opened as
37        "silc-2000-05-02".
38
39 See also: LASTLOG, SET LOG, WINDOW LOG
40