2022

Page tree
Skip to end of metadata
Go to start of metadata

profilesSingle file logging is useful to view the log details separately in a single file in the required location. This feature can be used in DBSync Cloud Replication by following a simple process mentioned below.

Solution:

  • config.properties must be accessed from the installation folder. The following path can be referred dbsync-cdm> WEB-INF > profiles > Org Id> config (the required profile name) > config.properties



  • Same can be done through system.properties.The following path can be referred dbsync-cdm> WEB-INF > db > conf >system.properties


  • Open config.properties, identify the below commands. If not available, these commands must be included.

log.dir=<dir for the log file>

log.filename=<name of the file>

log.append=<true or false> true is to add the logs to the existing file and false is to overwrite the existing file with new logs.

  • Edit these commands as required. An example is shown in the screen capture.
  • Save config.properties or system.properties & restart the server before running the replication. After running the replication logs can be viewed from the new location in a single file.
  • No labels