Configuring the Logging System

Virtual DataPort server and its administration tool use the library Apache Log4j 2 to log its activity.

This system stores the log files in these directories:

  • Virtual DataPort server: <DENODO_HOME>/logs/vdp/.

  • Administration tool: <DENODO_HOME>/logs/vdp-admin/.

The following files control the configuration of the logging system of Virtual DataPort:

  • Virtual DataPort server: <DENODO_HOME>/conf/vdp/log4j2.xml.

  • Administration tool: <DENODO_HOME>/conf/vdp-admin/log4j2.xml.

To apply the changes made on these files, you have to restart the Server or the administration tool respectively.

You can configure these components to store the logs on Amazon AWS S3. The knowledge base article How to store Denodo logs in Amazon S3 explains how to set this up.

You can change the log level (i.e. “WARN”, “INFO”, “DEBUG” or “TRACE”), of a category in the Virtual DataPort server without restarting, by doing the following:

  1. Invoking the stored procedure LogController. See more about this in the section LogController of the VQL Guide.

  2. Or, invoking the operation setLogLevel of the LogManagementInfo MBean. See more about this operation in the section LogManagementInfo MBean.

The changes in the log levels performed at runtime are lost when the Server is restarted.

Note

In production environments, we recommend using an ERROR log level. Lower levels may degrade the system performance if they print a lot of messages.