+++ /dev/null
-
-@SYNTAX:log@
-
- -noopen: Create the entry to log list, but don't start logging
- -autoopen: Automatically open this log file at startup
- -<server tag>: Targets are logged only in this server
- -targets: Log only in specified channels/nicks
- -window: Log the active window
- <filename>: File name where to log, it is parsed with
- strftime(), so %%d=day, etc. see "man strftime" for
- more info.
- <levels>: Defaults to ALL
- <id>: ID number of log.
-
-/SET log_create_mode <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 <text> - Specifies the time stamp format.
- Default is "%%H:%%M ".
-/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
-
-NOTE: Log files are locked after opened, so two clients can't
-accidentally try to write to the same log file.
-
-Examples:
-
-/LOG OPEN -targets Toni ~/silclogs/Toni.log MSGS
- - Logs all messages from/to nick `Toni'
-
-/LOG OPEN -targets silc ~/silclogs/silc/silc-%%Y-%%m-%%d
- - Logs all messages in channel silc. Log is rotated daily, so
- logs in 1. May 2000 goes to file "silc-2000-05-01", when the
- day is changed the log is closed and new log is opened as
- "silc-2000-05-02".
-
-See also: LASTLOG, SET LOG, WINDOW LOG
-