Blame README.debug-levels

Packit Service a2489d
Date: Wed, 22 Dec 1999 13:46:30 +0000 (GMT)
Packit Service a2489d
Subject: Debug Levels
Packit Service a2489d
From: Robert de Bath <rdebath@poboxes.com>
Packit Service a2489d
Packit Service a2489d
...
Packit Service a2489d
Packit Service a2489d
Level 0
Packit Service a2489d
   Errors and states that cause a significant change in program flow.  
Packit Service a2489d
   => Anything that causes a Discon+Retry or a "giveup" message.
Packit Service a2489d
Packit Service a2489d
Level 1
Packit Service a2489d
   Important or inaccessible state information.
Packit Service a2489d
   => Connection start, Idle disconnection.
Packit Service a2489d
Packit Service a2489d
Level 2
Packit Service a2489d
   Rare things that cause a minor program flow adjustment.
Packit Service a2489d
   => No REST, No PASV, etc.
Packit Service a2489d
Packit Service a2489d
Level 3
Packit Service a2489d
   Errors and useful messages that are slightly too verbose or common
Packit Service a2489d
   for 0-2 or don't quite fit in the classifications.
Packit Service a2489d
   => Login banner
Packit Service a2489d
Packit Service a2489d
Level 4
Packit Service a2489d
   All remote responses or major results. (Trace results)
Packit Service a2489d
   => All "999 Xyzzy" responses received.
Packit Service a2489d
Packit Service a2489d
Level 5
Packit Service a2489d
   All remote commands or major tasks. (Trace jobs)
Packit Service a2489d
   => All commands sent to server.
Packit Service a2489d
Packit Service a2489d
Level 6
Packit Service a2489d
   General information that will not be too verbose but is normally a
Packit Service a2489d
   little less important. (Trace state)
Packit Service a2489d
Packit Service a2489d
Level 7
Packit Service a2489d
   Similar to level 3 but verbose or not as useful.
Packit Service a2489d
Packit Service a2489d
Level 8
Packit Service a2489d
   Very verbose information that'll probably be useful sometime.
Packit Service a2489d
Packit Service a2489d
Level 9
Packit Service a2489d
   Anything and everything else, debugs that probably won't be useful
Packit Service a2489d
   ever again.                                            (unclassified)
Packit Service a2489d
   
Packit Service a2489d
Notes:
Packit Service a2489d
   If the programmer doesn't set the debug level this is not an important
Packit Service a2489d
   debug message or is only important right now.
Packit Service a2489d
   => default debug level == 9
Packit Service a2489d
Packit Service a2489d
   If something fits in one of the lower levels but is very verbose
Packit Service a2489d
   it should nevertheless be moved upto level 3 or levels 7-9.
Packit Service a2489d
   (Possibly leaving a single line 'oops' at the lower level)
Packit Service a2489d
Packit Service a2489d
   The general idea is that debug levels 0-3 should not scroll too fast
Packit Service a2489d
   to read and nothing below level 7 should be much more verbose than 
Packit Service a2489d
   levels 4 or 5. 
Packit Service a2489d
Packit Service a2489d
...