Project

General

Profile

Rawlog Dialog » History » Version 25

Per Amundsen, 03/28/2021 08:04 AM

1 14 Per Amundsen
{{>toc}}
2
3 1 Per Amundsen
h1. Rawlog Dialog
4
5
!rawlog.png!
6
7
The Rawlog dialog is used to debug AdiIRC and/or monitor raw IRC messages from/to IRC servers.
8
9 23 Per Amundsen
Rawlog can be opened from [[Menubar_Control|Menubar]] -> File -> Rawlog or by typing [[/rawlog]].
10 1 Per Amundsen
11
The rawlog will automatically re-open if it was open the last time AdiIRC was closed.
12
13
By default only new debug/raw messages will be added, a buffer can be kept in memory by typing [[/setoption]] Misc RawlogBuffer N .. where N is the number of lines to keep. (setting N to 0 disables the buffer)
14
15 17 Per Amundsen
_See also [[/rawlog]], [[/debug]], [[ScriptsDebug_Dialog|Scripts Debugger]]._
16 1 Per Amundsen
17 13 Per Amundsen
h2. Debug tab
18 1 Per Amundsen
19 3 Per Amundsen
The debug tab in the right listbox shows AdiIRC debug data.
20 1 Per Amundsen
21 13 Per Amundsen
h2. Server tabs
22 1 Per Amundsen
23
Each open server will have it's own tab in the listbox, it will list all incoming/outgoing raw IRC messages from/to the IRC server.
24 4 Per Amundsen
25
It can be useful for finding out if raw messages are being sent/received properly.
26 1 Per Amundsen
27 6 Per Amundsen
Outgoing messages are marked with the *<notextile>-></notextile>* prefix, and incoming messages are marked with the *<<notextile>-</notextile>* prefix.
28 5 Per Amundsen
29
!ping.png!
30 1 Per Amundsen
31 12 Per Amundsen
h2. Save Rawlog
32 1 Per Amundsen
33 9 Per Amundsen
The data from a tab can be saved to a file by clicking the *Save* button.
34 1 Per Amundsen
35 12 Per Amundsen
h2.  Clear Rawlog
36 1 Per Amundsen
37 9 Per Amundsen
To clear the data from a tab click the *Clear* button.
38 1 Per Amundsen
39 12 Per Amundsen
h2. Search Rawlog
40 1 Per Amundsen
41 9 Per Amundsen
The Rawlog can be searched by clicking the *Search* button or by pressing %(key)CTRL% + %(key)F%.
42 1 Per Amundsen
43 12 Per Amundsen
h2. Attach/Detach Rawlog
44 1 Per Amundsen
45 20 Per Amundsen
Rawlog can be attached to become a regular "MDI window":https://en.wikipedia.org/wiki/Multiple_document_interface or detached to become a desktop window by pressing %(key)CTRL% + %(key)D%.
46 8 Per Amundsen
47 12 Per Amundsen
h2. Rawlog Treebar priority
48 8 Per Amundsen
49 24 Per Amundsen
To make Rawlog the first visible window in the [[Treebar_Control|Treebar]]/[[Switchbar_Control|Switchbar]], add *Rawlog* at the top of [[Options Dialog|Options]] -> [[Windows Options]] -> [[Windows_Options#Window-Order|Window Order]].
50 8 Per Amundsen
51
!windoworder.png!
52 11 Per Amundsen
53 12 Per Amundsen
h2. Timestamps
54 11 Per Amundsen
55 18 Per Amundsen
Timestamps can be added/removed using [[/rawlog]] with the -t parameter or -d parameter, the setting is saved.
56 15 Per Amundsen
57
h2. Listbox width
58
59 25 Per Amundsen
The Listbos can be resized by dragging the border between the Listbox and the [[TextArea Control|Text Area]], the width is saved.
60 15 Per Amundsen
61 16 Per Amundsen
!resize.png!
62 19 Per Amundsen
63
h2. Debug information in memory
64
65
By default the last 100 lines in the "Debug" tab is always saved in memory and added to the Rawlog when it opens.
66
67
It's possible to increase this value and add the last X lines from each server to memory as well by typing [[/setoption]] Misc RawlogBuffer N in the [[Editbox Control|Editbox]], where N is a number.
68 21 Per Amundsen
69
h2. Automatically save debug tab data to file
70
71 22 Per Amundsen
Create a file called *debug.txt* in your AdiIRC config folder and the data from the debug tab will be automatically written to the file in real time.
72 21 Per Amundsen
73
_This file can become big, either delete it when it's no longer necessary or clear it periodically._