Single 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 DBSyncCReplSF3. The following path can be referred dbsync-repl > WEB-INF > db > config (the required profile name) > config.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 over-write the existing file with new logs.
- Edit these commands as required. An example is shown in the screen capture.
- Save config.properties & restart the server before running the replication. After running the replication logs can be viewed from the new location in a single file.