Logging

Sybase RAP - The Trading Edition uses an open source logging API to log events.

Sybase RAP useslog4cxx version 1.2, an open source logging API, to log events in publishers and subscribers. Log4cxx allows you to control which log statements are output. You can find information about log4cxx at http://logging.apache.org/log4cxx/index.html.

The logging library is made available to feed handler developers so that you can use the same logging utility as the Sybase RAP modules. This allows events from custom feed handlers to be logged to the same log file as the file being used by Sybase 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 lcoale 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. Processing is slower to execute at higher levels.


Created March 26, 2009. Send feedback on this help topic to Sybase Technical Publications: pubs@sybase.com