IBKR offers an API logging feature which allows clients to create log files for diagnostic and troubleshooting purposes.
Follow the steps below to enable this feature:
TWS:
- Select File in the Mosaic layout or Edit in the Classic layout
- Select Global Configuration from the drop-down menu
- Select API and then Settings
- Check the box Create API message log file
- From the Logging Level drop-down menu select Detail
IB Gateway:
- Select Configure and then Settings
- Select API and then Settings
- Check the box Create API message log file
- From the Logging Level drop-down menu select Detail
To upload your log files:
- Click Ctrl+Alt+H
- Provide a reason in the text box or an identifying message if directed to do so by a Client Services Representative
- Locate the small down arrow in the upper right corner and select Advanced View
- Uncheck Include previous days logs and settings
- Ensure that Full internal state of the application is checked
- Click Submit
Please Note
Uploading diagnostics will not automatically notify Client Services.