Lesson 6: Monitor your MobiLink synchronization using log files

After the tables are synchronized, you can view the progress of the synchronization using the message log files you created with each command line, serverOut.txt, rem1.txt, and rem2.txt. The default location of these files is the directory where the command was run.

 To detect errors in your MobiLink synchronization server log file
  1. Open your log file in a text editor. For this tutorial, the log file is serverOut.txt.

  2. Scan down the left side of the file. A line beginning with I. contains an informational message, and a line beginning with E. contains an error message.

 To detect errors in your MobiLink synchronization client log file
  1. Open a client log file, such as rem1.txt or rem2.txt, in a text editor.

  2. Search the file for the string COMMIT. If it appears, your synchronization was successful.

  3. Search the file for the string ROLLBACK. If the transaction was rolled back, there were errors that prevented it from completing.

  4. Scan down the left side of the file. An error has occurred if you see a line that begins with an E.. Your synchronization has completed successfully if your log file does not contain errors.

 Example
 Further reading