DXSpider Debug Commands and Levels: Difference between revisions

From DXSpider Documentation Wiki
Jump to navigation Jump to search
WI3W (talk | contribs)
m WI3W moved page Debug commands to DXSpider Debug Commands: Make it consistent with the rest of the naming conventions
WI3W (talk | contribs)
m badword: Expand
 
(3 intermediate revisions by the same user not shown)
Line 15: Line 15:
The same set and unset commands can be listed in the startup script to make these changes persistent.
The same set and unset commands can be listed in the startup script to make these changes persistent.
===Levels===
===Levels===
====chan====
====agw====
* chan
* agw
====connect====
* connect - for logging connect messages
====cron====
* cron
====msg====
* msg
====nologchan====
* nologchan - for logging (or not) the channel traffic
====pc11====
* pc11 - for logging PC11 messages
====progress====
* progress
====spotdup====
* spotdup
====state====
* state
====agwpoll====
====agwpoll====
* agwpoll
* agwpoll
====agw====
* agw
====raw====
* raw
====agwpollans====
====agwpollans====
* agwpollans
* agwpollans
Line 44: Line 24:
* async
* async
====badword====
====badword====
* badword
* badword - Log badword detections in the debug logs
 
====bpq====
====bpq====
* bpq
* bpq
====reap====
====chan====
* reap
* chan
====console====
====chanerr====
* console
* chanerr
====rbnchan====
* rbnchan
====cmdcount====
====cmdcount====
* cmdcount
* cmdcount
====command====
====command====
* command
* command
====echo====
====conn====
* echo
* conn
====route====
====connect====
* route
* connect - for logging connect messages
====eval====
====connll====
* eval
* connll
====userftx====
====console====
* userftx
* console
====dxspot====
====cron====
* dxspot
* cron
====trace====
====dupespot====
* trace
* dupespot
====dxdupe====
====dxdupe====
* dxdupe
* dxdupe
Line 75: Line 54:
====dxdupedel====
====dxdupedel====
* dxdupedel
* dxdupedel
====dxdupe====
====dxspot====
* dxdupe
* dxspot
====search====
====dxsql====
* search
* dxsql
====chanerr====
====echo====
* chanerr
* echo
====eval====
* eval
====filter====
* filter
====findroutes====
* findroutes
====lru====
* lru
====msg====
* msg
====nologchan====
* nologchan - Do not log chan level
This will override the chan level, even if chan is set. Set to keep debug log size down.
 
====obscount====
* obscount
====pc11====
* pc11 - for logging PC11 messages
====pc61====
====pc61====
* pc61
* pc61
====dupespot====
* dupespot
====suspicious====
* suspicious
====pc92====
====pc92====
* pc92
* pc92
====routelow====
* routelow
====pc92dedupe====
====pc92dedupe====
* pc92dedupe
* pc92dedupe
====route====
* route
====pc92k====
====pc92k====
* pc92k
* pc92k
====obscount====
* obscount
====routedisc====
* routedisc
====filter====
* filter
====dxsqp====
* dxsql
====connll====
* connll
====wwv====
* wwv
====lru====
* lru
====prefix====
====prefix====
* prefix
* prefix
====prefixdata====
====prefixdata====
* prefixdata
* prefixdata
====progress====
* progress
====raw====
* raw
====rbn====
====rbn====
* rbn
* rbn
====rbncache====
* rbncache
====rbnchan====
* rbnchan
====rbnll====
* rbnll
====rbnqrg====
* rbnqrg
====rbnqueue====
* rbnqueue
====rbnraw====
====rbnraw====
* rbnraw
* rbnraw
====seeme====
* seeme
====rbnqrg====
* rbnqrg
====rbnll====
* rbnll
====rbnskim====
====rbnskim====
* rbnskim
* rbnskim
====rbnqueue====
====rbnstats====
* rbnqueue
* rbnstats
====rbntimer====
====rbntimer====
* rbntimer
* rbntimer
====rbnstats====
====reap====
* rbnstats
* reap
====rbncache====
====route====
* rbncache
* route
====routec====
====routec====
* routec
* routec
====findroutes====
====routedisc====
* findroutes
* routedisc
====routelow====
* routelow
====search====
* search
====searcheval====
====searcheval====
* searcheval
* searcheval
====seeme====
* seeme
====spotdup====
* spotdup
====spottext====
====spottext====
* spottext
* spottext
====sql====
====sql====
* sql
* sql
====state====
* state
====suspicious====
* suspicious
====trace====
* trace
====udp====
====udp====
* udp
* udp
====userftx====
* userftx
====wcy====
====wcy====
* wcy
* wcy
====wwv====
* wwv

Latest revision as of 14:41, 6 April 2025

General Information

The debug commands or levels are set and unset through the console or the startup script. This gives the sysop the ability to control the messages that are logged in the debug files. The debug files can be found in '/spider/local_data/debug/<year>/<day of year>.dat'. i.e.:

 /spider/local_data/debug/2025/094.dat

In the console, to enable debugging:

 set/debug

This will enable debugging with the default levels. The default debug levels are:

 cron progress chan connect state msg nologchan

The set/debug command and default levels are persistent though restarts. There is no need to set it at each session. Any changes to the default levels are not persistent, and will need to be set as needed in the console. If you wish these changes to be persistent, you can add set or unset commands to the startup script in '/spider/scripts/startup'.

Examples

To enable the logging of PC11 messages

set/debug pc11

To unset the default of not logging channels:

unset/debug nologchan

The same set and unset commands can be listed in the startup script to make these changes persistent.

Levels

agw

  • agw

agwpoll

  • agwpoll

agwpollans

  • agwpollans

async

  • async

badword

  • badword - Log badword detections in the debug logs

bpq

  • bpq

chan

  • chan

chanerr

  • chanerr

cmdcount

  • cmdcount

command

  • command

conn

  • conn

connect

  • connect - for logging connect messages

connll

  • connll

console

  • console

cron

  • cron

dupespot

  • dupespot

dxdupe

  • dxdupe

dxdupeclean

  • dxdupeclean

dxdupedel

  • dxdupedel

dxspot

  • dxspot

dxsql

  • dxsql

echo

  • echo

eval

  • eval

filter

  • filter

findroutes

  • findroutes

lru

  • lru

msg

  • msg

nologchan

  • nologchan - Do not log chan level

This will override the chan level, even if chan is set. Set to keep debug log size down.

obscount

  • obscount

pc11

  • pc11 - for logging PC11 messages

pc61

  • pc61

pc92

  • pc92

pc92dedupe

  • pc92dedupe

pc92k

  • pc92k

prefix

  • prefix

prefixdata

  • prefixdata

progress

  • progress

raw

  • raw

rbn

  • rbn

rbncache

  • rbncache

rbnchan

  • rbnchan

rbnll

  • rbnll

rbnqrg

  • rbnqrg

rbnqueue

  • rbnqueue

rbnraw

  • rbnraw

rbnskim

  • rbnskim

rbnstats

  • rbnstats

rbntimer

  • rbntimer

reap

  • reap

route

  • route

routec

  • routec

routedisc

  • routedisc

routelow

  • routelow

search

  • search

searcheval

  • searcheval

seeme

  • seeme

spotdup

  • spotdup

spottext

  • spottext

sql

  • sql

state

  • state

suspicious

  • suspicious

trace

  • trace

udp

  • udp

userftx

  • userftx

wcy

  • wcy

wwv

  • wwv