Project

General

Profile

Logging Options » History » Version 17

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