# Single File Logging

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: <a href="#singlefilelogging-solution" id="singlefilelogging-solution"></a>

* Download the **latest version** **(6.x)** of the ZIP or EXE file of the DBSync Cloud Replication tool from DBSync website using the URL <http://mydbsync.com/integration/cloud-replication-for-salesforce> (If the latest version of DBSync Cloud Replication is already installed, this step must be ignored).
* config.properties must be accessed from the installation folde&#x72;*.* The following path can be referred dbsync-cd&#x6D;*> WEB-INF* > *profiles* > Org Id> *config (the required profile name)* > *config.properties*\
  \
  ![](https://help.mydbsync.com/docs/download/attachments/31983593/log.dir.PNG?version=1\&modificationDate=1559139989000\&api=v2)\ <br>
* *Same can be done through system.properties.The following path can be referred dbsync-cdm> WEB-INF > db > conf >system.properties*

![](https://help.mydbsync.com/docs/download/attachments/31983593/log.dir1.PNG?version=1\&modificationDate=1559140280000\&api=v2)<br>

* 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.![](https://help.mydbsync.com/docs/download/attachments/31983593/2910131.png?version=1\&modificationDate=1546941676000\&api=v2)
* 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.

<br>
