setServerLogLevel {IBrokers}R 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:
    SYSTEM (least detail)
    2:
    ERROR (default)
    3:
    WARNING
    4:
    INFORMATION
    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 http://www.interactivebrokers.com/php/apiUsersGuide/apiguide/api/api_logging.htm#XREF_63640_API_Logging


[Package IBrokers version 0.2-6 Index]