Show TOC

LoggingLocate this document in the navigation structure

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 %RTVIEWADAPTER_HOME%\config. Copy the log4j.properties file from %RTVIEWADAPTER_HOME%\config to the directory where you are running the RTView dashboard project. For example,

copy %RTVIEWADAPTER_HOME%\config\log4j.properties %RTVIEWADAPTER_HOME\vwap_project
%RTVIEWADAPTER_HOME%\bin\start_viewer.bat %RTVIEWADAPTER_HOME%\vwap_project p4_window_test.rtv

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.