setServerLogLevel: Enable API Logging Via TWS

View source: R/setServerLogLevel.R

setServerLogLevelR Documentation

Enable API Logging Via TWS

Description

Set level of API logging to be done by TWS.

Usage

setServerLogLevel(conn, logLevel = 2)

Arguments

conn

a valid twsConnection

logLevel

an integer from 1 to 5

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.

Value

This function is called for its side-effects.

Note

The online documentation warns of performance overhead when setting logLevel=5.

Author(s)

Jeffrey A. Ryan

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


IBrokers documentation built on Nov. 16, 2022, 5:05 p.m.