Logging Levels

Use the RAP log levels, defined in the logger.h file, during feed handler development.

Although log4cxx offers seven log levels, RAP maps to four levels, which are internally mapped to standard log4cxx.

An include file, logger.h, defines valid log levels:
LOGGER_DEBUG
LOGGER_INFO
LOGGER_WARNING
LOGGER_ERROR

The logging level set in the publisher API sets the base level of logging. You can override this level from the OpsConsole or in publisher.xml. For example, your feed handler code might specify LOGGER_ERROR for best performance in a production environment. To debug an issue, you might configure the level in publisher.xml to log at the debug level.