Logging

The RTView adapter uses Apache log4j API to log errors, warnings, and information and debugging messages. A sample log4j.properties file containing the logging configuration is part of the RTView adapter distribution.

You can modify the logging levels of the RTView adapter in the log4j.properties configuration file, located in %ESP_HOME%\adapters\rtview\config. Set the ADAPTER_CLASSPATH environment variable to point to this directory.

The configuration file settings override the defaults set in esp_adapter_rtview.jar, the adapter's jar file.

The logging levels in log4j.properties are:
Level Description
ALL Logs all events.
DEBUG Logs general debugging events.
ERROR Logs potentially recoverable application errors.
FATAL Logs severe errors that prevent the application from continuing.
INFO Logs events for informational purposes.
OFF Logs no events.
TRACE Logs fine-grained debug messages that capture the flow of the application.
WARN Logs events that possibly lead to errors.
Note: Setting to DEBUG or ALL may result in large log files. The default value is INFO.