Logging Options » History » Version 16
Per Amundsen, 01/12/2021 10:26 PM
1 | 14 | Per Amundsen | {{>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 | 15 | Per Amundsen | h2. Lock files |
52 | |||
53 | When enabled, all logfiles in use are locked until the associated window is closed. |
||
54 | |||
55 | 1 | Per Amundsen | h2. LogFolder |
56 | |||
57 | The Folder to save the log files. |
||
58 | |||
59 | h2. Timeformat |
||
60 | |||
61 | The time format to use when Use Timestamp is enabled. |
||
62 | |||
63 | 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. |
64 | |||
65 | 1 | Per Amundsen | h2. FileName |
66 | |||
67 | The filename to use for logs, |
||
68 | |||
69 | 3 | Per Amundsen | Variables available: |
70 | |||
71 | $network - The network name associated with the log window. |
||
72 | $channel - The channel/query name associated with the log window. |
||
73 | $date - Current date in the yyyymmdd format. |
||
74 | |||
75 | _Date/time/other variables are not available to keep the filenames predictable for restore logs._ |
||
76 | |||
77 | 1 | Per Amundsen | h2. Rotated filename |
78 | |||
79 | 10 | Per Amundsen | The filename to use for logs when *Split log files at [X]* is enabled and the log is to be rotated, |
80 | 3 | Per Amundsen | |
81 | Variables available: |
||
82 | |||
83 | $network - The network name associated with the log window. |
||
84 | $channel - The channel/query name associated with the log window. |
||
85 | 1 | Per Amundsen | $date - Current date in the yyyymmdd format. |
86 | $count - A incremental number based on number of files with the same filename minus the $count number. |
||
87 | |||
88 | _Date/time/other variables are not available to keep the filenames predictable for restore logs._ |
||
89 | 11 | Per Amundsen | |
90 | 16 | Per Amundsen | h2. Restore last [X] messages in private windows |
91 | |||
92 | If enabled, the last [X] messages from the log files will be restored when a private window is opened. |
||
93 | |||
94 | h2. Restore last [X] messages in channel windows |
||
95 | |||
96 | If enabled, the last [X] messages from the log files will be restored when a channel window is opened. |
||
97 | |||
98 | 11 | Per Amundsen | h2. Separate logs |
99 | |||
100 | 12 | Per Amundsen | When enabled, save the logfiles in a subfolder based on the selected interval. |
101 | 11 | Per Amundsen | |
102 | Daily = YYYY-MM-DD. |
||
103 | Weekly = YYYY-WW. |
||
104 | Monthly = YYYY-MM. |
||
105 | Yearly = YYYY. |
||
106 | 1 | Per Amundsen | |
107 | 9 | Per Amundsen | h2. Trim logs at [X] kb |
108 | |||
109 | When enabled and a log file becomes bigger than [X] kilobytes, it will be trimmed to fit the specified size. |
||
110 | |||
111 | _Cannot be used with split log files._ |
||
112 | |||
113 | 10 | Per Amundsen | h2. Split log files at [X] kb |
114 | 1 | Per Amundsen | |
115 | When enabled and a log file becomes bigger than [X] kilobytes, it will be renamed to *Rotated filename* and a new log created. |
||
116 | |||
117 | _Cannot be used with trim log files._ |
||
118 | |||
119 | h2. Remove log files older than [x] days |
||
120 | |||
121 | When enabled, all log files not modified since [x] days ago will be removed when AdiIRC exits. |
||
122 | |||
123 | 8 | Per Amundsen | h2. Disable logging for channel/private windows |
124 | 1 | Per Amundsen | |
125 | Channels and users in this list will not be logged. |
||
126 | |||
127 | 5 | Per Amundsen | _Per server settings can be added using network:#channel syntax._ |
128 | |||
129 | 6 | Per Amundsen | _These windows ignores/overrides the "Log channels/servers/Log privatechat" option._ |
130 | |||
131 | 7 | Per Amundsen | _Can also be toggled by right-clicking the window in [[Switchbar Control|Switchbar]]/[[Treebar Control|Treebar]] -> Logging._ |
132 | 6 | Per Amundsen | |
133 | 8 | Per Amundsen | h2. Always log channel/private windows |
134 | 1 | Per Amundsen | |
135 | Channels and users in this list will always be logged, regardless of the *Log Channels* and *Log Privatechat* options. |
||
136 | 5 | Per Amundsen | |
137 | _Per server settings can be added using network:#channel syntax._ |
||
138 | 6 | Per Amundsen | |
139 | _These windows ignores/overrides the "Log channels/servers/Log privatechat" option._ |
||
140 | |||
141 | 7 | Per Amundsen | _Can also be toggled by right-clicking the window in [[Switchbar Control|Switchbar]]/[[Treebar Control|Treebar]] -> Logging._ |
142 | 4 | Per Amundsen | |
143 | h1. Log Events |
||
144 | |||
145 | _If Log hidden events is enabled, these options are ignored._ |
||
146 | |||
147 | Default = Log event if logging is enabled for the channel. |
||
148 | On = Log event in channels even if logging for the channel is disabled. |
||
149 | Off = Never log event in channels even if logging for the channel is enabled. |
||
150 | |||
151 | h2. Messages |
||
152 | |||
153 | Log regular messages. |
||
154 | |||
155 | h2. Joins |
||
156 | |||
157 | Log when a user joins a channel. |
||
158 | |||
159 | h2. Modes |
||
160 | |||
161 | Log when a user changes channel modes. |
||
162 | |||
163 | h2. Parts |
||
164 | |||
165 | Log when a user leaves a channel. |
||
166 | |||
167 | h2. Topics |
||
168 | |||
169 | Log when a user changes a channel topic. |
||
170 | |||
171 | h2. Quits |
||
172 | |||
173 | Log when a user quits irc. |
||
174 | |||
175 | h2. Ctcps |
||
176 | |||
177 | Log when a user sends a ctcp request. |
||
178 | |||
179 | h2. Kicks |
||
180 | |||
181 | Log when a user is kicked from a channel. |
||
182 | |||
183 | h2. Nicks |
||
184 | |||
185 | Log when a user changes nick. |