DXSpider Debug Commands and Levels

From DXSpider Documentation Wiki
Jump to navigation Jump to search

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