How to monitor the number of times a VDP server is restarted

Applies to: Denodo 8.0 , Denodo 7.0 , Denodo 6.0
Last modified on: 18 May 2020
Tags: Administration

Download document

You can translate the document:


This document describes how to verify the number of restarts of a Denodo Virtual DataPort server instance.


It is possible to use a grep-like command in order to monitor the vdp.log file and obtain start/stop messages.

An alternative way to do this is to use the Denodo Platform capabilities following these steps:

  1. Create a separate log file specifically for this task
  2. Modify the <DENODO_HOME>/conf/vdp/log4j2.xml file adding a new appender and logging category as follows:


<RollingFile name="CONTROL" fileName="<DENODO_HOME>/logs/vdp/vdp-control.log" filePattern="<DENODO_HOME>/logs/vdp/vdp-control.log.%i">


<SizeBasedTriggeringPolicy size="10 MB" />


<DefaultRolloverStrategy max="7" />


 pattern="%-4r [%t] %d{yyyy-MM-dd'T'HH:mm:ss.SSS} %x -\t%m %n" />


<Logger name="com.denodo.vdb.vdbinterface.server.VDBManagerImpl" level="info">

  <AppenderRef ref="CONTROL" />


  1. Make sure to replace the <DENODO_HOME> value in the appender to the location of the Denodo Installation.
  2. After modifying the log4j configuration file and restarting the VDP server the following log entries will be logged to the new log file:

  1. Virtual DataPort server started successfully. (VDP was started)
  2. JVM Shutdown captured (VDP was stopped, only for Denodo 6.0)

  1. To keep track of these messages, create a Delimited File Data source.
  2. Select Local as Data Route and browse to the path of the new log file.
  3. Select “Tuple pattern” option and type as regular expression to get the time and the log message:

 .*\[.*\]\s*(.*)\s*\[\] -\s+(.*)

  1. Once the data source is configured, create the base view, a query on this base view will return the information about the events that stop and start the Virtual DataPort server including a timestamp for the event.

  1. From this view, the count function can be used to see how many times the “Virtual DataPort server started successfully.” or the “JVM Shutdown captured” messages appear.

Note for Denodo 7.0 and Denodo 8.0 only: If you want to monitor the number of times the Solution Manager server is restarted, you can follow similar steps but modifying the file in <SOLUTION_MANAGER_HOME>/conf/vdp/log4j2.xml.


Virtual DataPort Administration Guide: Delimited File Sources


Ask a question
You must sign in to ask a question. If you do not have an account, you can register here

Featured content


Ready for more? Great! We offer a comprehensive set of training courses, taught by our technical instructors in small, private groups for getting a full, in-depth guided training in the usage of the Denodo Platform. Check out our training courses.