VirtualViewer® logging configuration
The P8 Content Handler component of the VirtualViewer ICN Connector utilizes log4j to handle all of its logging. The logging configuration file can be found in the installation directory under /virtualviewer/WEB-INF/classes/log4j.properties
.
By default, the VirtualViewer is configured to capture only VirtualViewer P8 Content Handler log messages at an INFO
level or higher. However, given that P8 also utilizes log4j, by updating the configuration to utilize the rootlogger you can also capture P8 log messages into the configured log file. There is a comment in the log4j.properties
file detailing the change to make to utilize this.
The pre-configured log location is set to /opt/IBM/was_logs/server1/virtualviewer
and should be updated if this location is not available and/or desired for your environment.
For more detail about log4j, visit https://logging.apache.org/log4j/log4j-2.6.1/manual/index.html.
Have questions, corrections, or concerns about this topic? Please let us know!