Debian Codegraph @

README.debug-levels

raw
1 Date: Wed, 22 Dec 1999 13:46:30 +0000 (GMT)
2 Subject: Debug Levels
3 From: Robert de Bath <[email protected]>
4
5 ...
6
7 Level 0
8 Errors and states that cause a significant change in program flow.
9 => Anything that causes a Discon+Retry or a "giveup" message.
10
11 Level 1
12 Important or inaccessible state information.
13 => Connection start, Idle disconnection.
14
15 Level 2
16 Rare things that cause a minor program flow adjustment.
17 => No REST, No PASV, etc.
18
19 Level 3
20 Errors and useful messages that are slightly too verbose or common
21 for 0-2 or don't quite fit in the classifications.
22 => Login banner
23
24 Level 4
25 All remote responses or major results. (Trace results)
26 => All "999 Xyzzy" responses received.
27
28 Level 5
29 All remote commands or major tasks. (Trace jobs)
30 => All commands sent to server.
31
32 Level 6
33 General information that will not be too verbose but is normally a
34 little less important. (Trace state)
35
36 Level 7
37 Similar to level 3 but verbose or not as useful.
38
39 Level 8
40 Very verbose information that'll probably be useful sometime.
41
42 Level 9
43 Anything and everything else, debugs that probably won't be useful
44 ever again. (unclassified)
45
46 Notes:
47 If the programmer doesn't set the debug level this is not an important
48 debug message or is only important right now.
49 => default debug level == 9
50
51 If something fits in one of the lower levels but is very verbose
52 it should nevertheless be moved upto level 3 or levels 7-9.
53 (Possibly leaving a single line 'oops' at the lower level)
54
55 The general idea is that debug levels 0-3 should not scroll too fast
56 to read and nothing below level 7 should be much more verbose than
57 levels 4 or 5.
58
59 ...