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
- Click the cog button, choose preferences > Advanced > power user settings.
- Find the "log_size" ("Max log size") entry in the list.
- 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:
- Open your console (or connect to your box via SSH)
- Shut down Sync. When shutting down - do not use "kill -9" option as it may corrupt your DB file
- Find the settings.dat file. This file resides in Sync Storage folder.
- Download python script attached below.
- Run the script with the following parameters: "python edit.py settings.dat set log_size 200"
- Script won't report anything if operation was successful
- Run Sync again
Android, iOS, Windows Phone
It is not possible to adjust log size on mobile platforms