Logging Options » History » Version 13
Per Amundsen, 02/25/2020 05:06 PM
| 1 | 12 | Per Amundsen | sa{{>toc}} |
|---|---|---|---|
| 2 | 1 | Per Amundsen | |
| 3 | h1. Logging Options |
||
| 4 | |||
| 5 | _See also [[/log]]._ |
||
| 6 | |||
| 7 | h2. Log Channels |
||
| 8 | |||
| 9 | When enabled, logs all channel windows. |
||
| 10 | |||
| 11 | h2. Log Privatechat |
||
| 12 | |||
| 13 | When enabled, logs all private windows. |
||
| 14 | |||
| 15 | h2. Log Servers |
||
| 16 | |||
| 17 | When enabled, logs all server windows. |
||
| 18 | |||
| 19 | h2. Log hidden events |
||
| 20 | |||
| 21 | When enabled, logs all events hidden by [[Events Options]]. |
||
| 22 | |||
| 23 | h2. Make separate folder for each server |
||
| 24 | |||
| 25 | When enabled, will create a sub folder with the network name and save the logfile there. |
||
| 26 | |||
| 27 | h2. Strip mIRC tags |
||
| 28 | |||
| 29 | When enabled, Removes all [[Formatting_Text|control codes]] from the message before logging. |
||
| 30 | |||
| 31 | h2. Use Timestamp |
||
| 32 | |||
| 33 | When enabled, adds a timestamp with the specified Timeformat to the message before logging. |
||
| 34 | |||
| 35 | 13 | Per Amundsen | h2. Use server-time when available |
| 36 | |||
| 37 | If enabled, the logged line will be logged with the timestamp retrieved from the server when the "IRCv3 server-time":https://ircv3.net/specs/extensions/server-time-3.2.html cap is used, otherwise the current localtime is used. |
||
| 38 | |||
| 39 | 1 | Per Amundsen | h2. Use line colors |
| 40 | |||
| 41 | When enabled, the line colors used for the message will be added to the log. |
||
| 42 | |||
| 43 | h2. Log Nickcolumn character |
||
| 44 | |||
| 45 | When enabled, the Nickcolumn character used to separate timestamp/nick from the message will be saved and correctly restored. |
||
| 46 | |||
| 47 | 2 | Per Amundsen | h2. Log session start/close |
| 48 | |||
| 49 | When enabled, session start and close date will be logged to the logfile. |
||
| 50 | |||
| 51 | 1 | Per Amundsen | h2. LogFolder |
| 52 | |||
| 53 | The Folder to save the log files. |
||
| 54 | |||
| 55 | h2. Timeformat |
||
| 56 | |||
| 57 | The time format to use when Use Timestamp is enabled. |
||
| 58 | |||
| 59 | 3 | Per Amundsen | Click the Show date/time variables link to see available variables, these variables ONLY work for the timestamp, not for the filename. |
| 60 | |||
| 61 | 1 | Per Amundsen | h2. FileName |
| 62 | |||
| 63 | The filename to use for logs, |
||
| 64 | |||
| 65 | 3 | Per Amundsen | Variables available: |
| 66 | |||
| 67 | $network - The network name associated with the log window. |
||
| 68 | $channel - The channel/query name associated with the log window. |
||
| 69 | $date - Current date in the yyyymmdd format. |
||
| 70 | |||
| 71 | _Date/time/other variables are not available to keep the filenames predictable for restore logs._ |
||
| 72 | |||
| 73 | 1 | Per Amundsen | h2. Rotated filename |
| 74 | |||
| 75 | 10 | Per Amundsen | The filename to use for logs when *Split log files at [X]* is enabled and the log is to be rotated, |
| 76 | 3 | Per Amundsen | |
| 77 | Variables available: |
||
| 78 | |||
| 79 | $network - The network name associated with the log window. |
||
| 80 | $channel - The channel/query name associated with the log window. |
||
| 81 | 1 | Per Amundsen | $date - Current date in the yyyymmdd format. |
| 82 | $count - A incremental number based on number of files with the same filename minus the $count number. |
||
| 83 | |||
| 84 | _Date/time/other variables are not available to keep the filenames predictable for restore logs._ |
||
| 85 | 11 | Per Amundsen | |
| 86 | h2. Separate logs |
||
| 87 | |||
| 88 | 12 | Per Amundsen | When enabled, save the logfiles in a subfolder based on the selected interval. |
| 89 | 11 | Per Amundsen | |
| 90 | Daily = YYYY-MM-DD. |
||
| 91 | Weekly = YYYY-WW. |
||
| 92 | Monthly = YYYY-MM. |
||
| 93 | Yearly = YYYY. |
||
| 94 | 1 | Per Amundsen | |
| 95 | 9 | Per Amundsen | h2. Trim logs at [X] kb |
| 96 | |||
| 97 | When enabled and a log file becomes bigger than [X] kilobytes, it will be trimmed to fit the specified size. |
||
| 98 | |||
| 99 | _Cannot be used with split log files._ |
||
| 100 | |||
| 101 | 10 | Per Amundsen | h2. Split log files at [X] kb |
| 102 | 1 | Per Amundsen | |
| 103 | When enabled and a log file becomes bigger than [X] kilobytes, it will be renamed to *Rotated filename* and a new log created. |
||
| 104 | |||
| 105 | _Cannot be used with trim log files._ |
||
| 106 | 10 | Per Amundsen | |
| 107 | h2. Remove log files older than [x] days |
||
| 108 | |||
| 109 | When enabled, all log files not modified since [x] days ago will be removed when AdiIRC exits. |
||
| 110 | 1 | Per Amundsen | |
| 111 | h2. Show last [X] messages in private windows |
||
| 112 | |||
| 113 | If enabled, the last [X] messages from the log files will be restored when a private window is opened. |
||
| 114 | |||
| 115 | h2. Show last [X] messages in channel windows |
||
| 116 | |||
| 117 | If enabled, the last [X] messages from the log files will be restored when a channel window is opened. |
||
| 118 | |||
| 119 | 8 | Per Amundsen | h2. Disable logging for channel/private windows |
| 120 | 1 | Per Amundsen | |
| 121 | Channels and users in this list will not be logged. |
||
| 122 | |||
| 123 | 5 | Per Amundsen | _Per server settings can be added using network:#channel syntax._ |
| 124 | |||
| 125 | 6 | Per Amundsen | _These windows ignores/overrides the "Log channels/servers/Log privatechat" option._ |
| 126 | |||
| 127 | 7 | Per Amundsen | _Can also be toggled by right-clicking the window in [[Switchbar Control|Switchbar]]/[[Treebar Control|Treebar]] -> Logging._ |
| 128 | 6 | Per Amundsen | |
| 129 | 8 | Per Amundsen | h2. Always log channel/private windows |
| 130 | 1 | Per Amundsen | |
| 131 | Channels and users in this list will always be logged, regardless of the *Log Channels* and *Log Privatechat* options. |
||
| 132 | 5 | Per Amundsen | |
| 133 | _Per server settings can be added using network:#channel syntax._ |
||
| 134 | 6 | Per Amundsen | |
| 135 | _These windows ignores/overrides the "Log channels/servers/Log privatechat" option._ |
||
| 136 | |||
| 137 | 7 | Per Amundsen | _Can also be toggled by right-clicking the window in [[Switchbar Control|Switchbar]]/[[Treebar Control|Treebar]] -> Logging._ |
| 138 | 4 | Per Amundsen | |
| 139 | h1. Log Events |
||
| 140 | |||
| 141 | _If Log hidden events is enabled, these options are ignored._ |
||
| 142 | |||
| 143 | Default = Log event if logging is enabled for the channel. |
||
| 144 | On = Log event in channels even if logging for the channel is disabled. |
||
| 145 | Off = Never log event in channels even if logging for the channel is enabled. |
||
| 146 | |||
| 147 | h2. Messages |
||
| 148 | |||
| 149 | Log regular messages. |
||
| 150 | |||
| 151 | h2. Joins |
||
| 152 | |||
| 153 | Log when a user joins a channel. |
||
| 154 | |||
| 155 | h2. Modes |
||
| 156 | |||
| 157 | Log when a user changes channel modes. |
||
| 158 | |||
| 159 | h2. Parts |
||
| 160 | |||
| 161 | Log when a user leaves a channel. |
||
| 162 | |||
| 163 | h2. Topics |
||
| 164 | |||
| 165 | Log when a user changes a channel topic. |
||
| 166 | |||
| 167 | h2. Quits |
||
| 168 | |||
| 169 | Log when a user quits irc. |
||
| 170 | |||
| 171 | h2. Ctcps |
||
| 172 | |||
| 173 | Log when a user sends a ctcp request. |
||
| 174 | |||
| 175 | h2. Kicks |
||
| 176 | |||
| 177 | Log when a user is kicked from a channel. |
||
| 178 | |||
| 179 | h2. Nicks |
||
| 180 | |||
| 181 | Log when a user changes nick. |