Logging

RAP uses log4cxx version 0.10.0, an open source logging API, to log events in publishers and subscribers.

log4cxx allows you to control which log statements are sent to an output format. You can find information about log4cxx at http://logging.apache.org/log4cxx/index.html.

The logging library is available to feed handler developers so that you can use the same logging utility as the RAP modules. This allows events from custom feed handlers to be logged to the same log file as the file being used by RAP modules.

Logging messages in RAP - The Trading Edition are derived from resource bundles you can customize and localize. Resource bundles exist for each RAP component other than the RAPCache and RAPStore.

The default logging locale is U.S. English (en_US). Set the locale by modifying the RAP_LOCALE environment variable in the executable script file for each component.

Note:

At higher log levels, more log information is reported, but processing may also be slower.

Related concepts
Initialization
Functions to Send Messages
Methods
Related reference
Error Codes
Publisher API Data Structures