You can specify how many days the entries in the error log in the Mobile Devices Administration Center should be kept. The log entries that are older than the specified days are automatically purged. This feature helps to keep the size of the error log small.
To specify the days that the entries should be kept:
For example, if you want all log entries older than three days to be purged automatically, change the line to look like this:
Log.KeepDays=3
By default, the Sync Server only logs error messages in the trace files. However, for diagnostic purposes, you may want to turn on tracing to include more detailed information. Use DSYTrace to turn on or off tracing.
To turn on tracing
DSYTrace 1 -console
All trace messages are now logged to a .trace file.
To turn off tracing
DSYTrace 0 -console
Tracing is now turned off. Only error messages are now logged to a .trace file.
The DSYTrace command changes the Trace.Level in file DSYGdflt.properties in directory \SyncServer\Server\classes\com\ibm\mobileservices\. For additional tracing options, type DSYTrace with no options at the command line or open the DSYGdflt.properties file in a text editor and modify the Trace.var parameters where var is a specific parameter variable.