Defining the tracing level

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.

Procedure

To turn on tracing

  1. Open a command prompt.
  2. Change to the %DSYINSDIR%/Server/bin directory.
  3. At the command prompt, type:
    DSYTrace 1 -console
    

All trace messages are now logged to a .trace file.

To turn off tracing

  1. Open a command prompt.
  2. Change to the %DSYINSDIR%/Server/bin directory.
  3. At the command prompt, type:
    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 \%DSYINSTDIR%\Server\properties\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.

Related concepts

Related tasks