Exclusive 22% OFF All Quantra by QuantInsti Courses for IBridgePy Users Master algorithmic trading from beginner to advanced — Python for trading, machine learning strategies, options trading, and more.
HUI22 Use HUI22 for 22% off
HUI7 Stack HUI7 for an additional 7% off
Browse Courses →
← Back to Blog

Raise log level to help debug

July 21, 2019
Debugging a code is frustrating. We understand it and we are here to help you. When you post debugging questions at community and send email to IBridgePy@gmail.com, please follow this guideline so that we can help you solve the issues quickly. 1. Add this to RUN_ME.py, refer to this API doc. The last few lines are critical for us to understand what happened and what caused errors.

logLevel = 'DEBUG'

The log file is stored at IBridgePy folder/Log and the file name is TraderLog_year-month-day.txt Sometime, you may even raise the logLevel to "NOTSET", which will display all IBridgePy steps in the log. 2. Please tell more details about how to reproduce the bug. 3. Read this webpage and provide enough infor. //rent_a_coder/#Free_debug_service