Project

General

Profile

Logging Options » History » Version 18

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