Learn R Programming

IBrokers (version 0.10-2)

setServerLogLevel: Enable API Logging Via TWS

Description

Set level of API logging to be done by TWS.

Usage

setServerLogLevel(conn, logLevel = 2)

Value

This function is called for its side-effects.

Arguments

conn

a valid twsConnection

logLevel

an integer from 1 to 5

Author

Jeffrey A. Ryan

Details

Calling this function will set the logging level for the current connection according to the following table:

  1. 1:SYSTEM (least detail)

  2. 2:ERROR (default)

  3. 3:WARNING

  4. 4:INFORMATION

  5. 5:DETAIL (most detail)

See TWS documentation for further details.

References

TWS API Logging https://interactivebrokers.github.io/tws-api/support.html#tws_logs https://interactivebrokers.github.io/tws-api/classIBApi_1_1EClient.html#a62ed6f4f391c86743c566d44c29dae48