How To enable journaling for router files?

How To: Enable journaling for router files


Imagine a situation where you want to keep the history of the changes which were processed by HVR integrate job. This can be achieved by enabling journaling option in channel settings. By default, when integrate job consumes the router files these files are deleted from the folder $HVR_CONFIG/router/<hubname>/<channelname>/loc_<srcname>/loc_<tgtname>. But if you want to keep them you can use an integrate action JournalRouterFiles


This article describes how to save the router files.


  1. Chn1 is already running in the hub hvrhub4.
  2. In this example source location is orcl and Target location is olx
  3. It has simple capture and Integrate actions


Step 1] Add action JournalRouterFiles

1. Right click on Integrate action for the channel chn1 and select properties

2. On the next window for Integrate Action check box for JournalRouterFiles parameter

3. Click on Ok as confirmation. You will notice that the Integrate action now has JournalRouterFiles as parameter.

Step 2] Re initialize Integrate job(s) with advanced option Scripts and Jobs

1. Right click on chn1 and select HVR Initialize

2. On the next page expand the locations and check box for Target location(s)

3. Select Advanced Options and uncheck everything except Scripts and Jobs for all tables

4. Click on Initialize. You will see a prompt showing that 1 job was recreated.

5. Once this is done you will notice that a directory jnl is created under $HVR_CONFIG and journal files are created under folder structure jnl/<hubname>/<channelname>/<yyyymmdd>/integ_<tgt_location>loc<src_location>/loc_ <tgt_location> where <yyyymmdd> is today's date 20180828. In this particular case the journal files are created in structure $HVR_CONFIGjnlhvrhub4chn120180828integ_olx_loc_orclloc_olx.