Reuters Logging

Turn Reuters logging on or off using the Reuters-side configuration file.

You can configure the adapter's interface to RMDS to write to a logging facility. In the Reuters-side configuration file (rfasub.cfg and rfapub.cfg are the ones provided with the adapter), you can turn logging on or off and specify a path and file name of the log file. The Reuters interface also supports a set of "message files."

The Reuters-side configuration file contains a set of configuration entries for the Reuters "Logger" facility.

\Logger\AppLogger\fileLoggerEnabled                = true
\Logger\AppLogger\fileLoggerFilename               = "rfasub.{p}.log"

This configuration turns on Reuters logging for the Reuters Marketfeed adapter. The log messages are written to the rfasub.PID.log file, where PID is the adapter's process ID.

The first line in this set, \Logger\AppLogger\windowsLoggerEnabled = false, pertains to a Windows logging facility that is not supported for the Reuters Marketfeed adapter.

These example lines are from rfasub.cfg, the file that configures an adapter that subscribes to RMDS. The configuration file for publication, rfapub.cfg, contains the same configuration lines (except that the value for fileLoggerFilename is rfapub.{p}.log.

The same file contains configuration entries for Component Loggers, as follows:

\Logger\ComponentLoggers\Connections\messageFile   ="config/messages/RFA7_Connections.mc"
\Logger\ComponentLoggers\Adapter\messageFile       ="config/messages/RFA7_Adapter.mc"
\Logger\ComponentLoggers\SessionCore\messageFile   ="config/messages/RFA7_SessionLayer.mc"
\Logger\ComponentLoggers\SSLED_Adapter\messageFile ="config/messages/RFA7_SSLED_Adapter.mc"