Skip to content

How to Debug

serdrdoor edited this page Sep 7, 2021 · 2 revisions

12.0 How to Debug DEXBot

12.1 DEXBot Logging

12.1.1 By default, DEXBot uses info level logging. You can look at dexbot.log file, see File locations.

12.2 How to Debug DEXBot

12.2.1 When you have an error during DEXBot execution it's often desirable to provide a debug log in the bugreport. Help is available on the DEXBot telegram channel t.me/DEXBotbts. But preferably please submit a bug-report to the DEXBot GitHub. To provide a base-level debug you need to run dexbot in cli mode using the following command:

12.2.1.1 dexbot-cli -v4 run

12.2.1.2 -v4 switch raises the loglevel to debug.

12.3 Debug levels

  • 12.3.1 1-4: dexbot only
  • 12.3.2 5-8: debug grapheneapi (python-graphenelib library)
  • 12.3.3 9-13: debug graphenebase (python-graphenelib library)