Help Center


Increasing Debug Log size


​Sync rotates logs to avoid flooding hard drive with debugging information. sync.log file is backed up to sync.log.old every time it reaches log_size preference value (100 Mbytes by default). An existing sync.log.old is discarded at the moment of rotation.

It means that at the end of day Sync can store up to log_size * 2 amount of data. Though, even 200 Mb of data is sometimes not enough to capture the issue due to extensive logging.

Please see instructions below on how to increase your log rotation size.

Windows, Mac

  1. Click the cog button, choose preferences > Advanced > power user settings.
  2. Find the "log_size" ("Max log size") entry in the list.
  3. Enter the value of "200" or more and close the window. Restart Sync.



Linux, FreeBSD, NAS

In Sync 2.3 and newer: increase option "log_size" in power user settings. 
In Sync older than v 2.3:

  1. Open your console (or connect to your box via SSH)
  2. Shut down Sync. When shutting down - do not use "kill -9" option as it may corrupt your DB file
  3. Find the settings.dat file. This file resides in Sync Storage folder.
  4. Download python script, intended to change values in bencoded files ("wget http://syncapp.bittorrent.com/support/script/btsync_edit_settings_w4.py")
  5. Run the script with the following parameters: "python btsync_edit_settings_w4.py settings.dat set log_size 200"
  6. Script won't report anything if operation was successful
  7. Run Sync again



Android, iOS, Windows Phone
It is not possible to adjust log size on mobile platforms

This information: DIDN'T HELP / WAS USEFULThanks!


Please note that we won't mail you back. This is just purely feedback on the article above. If you need help from our Support Team, please use the "Contact Support" link at the top of the page.