diff options
Diffstat (limited to 'docs/manual.txt')
-rw-r--r-- | docs/manual.txt | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/docs/manual.txt b/docs/manual.txt index 8be536b3..0c67af21 100644 --- a/docs/manual.txt +++ b/docs/manual.txt @@ -930,19 +930,17 @@ 11.1 Basic logging - /LOG OPEN [-noopen] [-autoopen] [-targets <targets>] [-window] - [-rotate hour|day|week|month] <filename> [<levels>] + /LOG OPEN [-noopen] [-autoopen] [-targets <targets>] + [-window] <filename> [<levels>] -noopen: Create the entry to log list, but don't start logging -autoopen: Automatically open this log file at startup -targets: Log only in specified channels/nicks -window: Log the active window - -rotate: Reopen the log file every hour, day, week or month. - This makes only sense if you specify date/time formats - to file name. <filename>: File name where to log, it is parsed with strftime(), so %d=day, etc. see "man strftime" for - more info. + more info. Irssi will automatically check every hour + if log should be rotated. <levels>: Defaults to ALL /LOG CLOSE <ref#> | <fname> - Close log and remove from log list @@ -968,7 +966,7 @@ /LOG OPEN -targets cras ~/irclogs/cras.log MSGS - Logs all messages from/to nick `cras' - /LOG OPEN -rotate day -targets #linux ~/irclogs/linux/linux-%Y-%m-%d + /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 |