Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SAP Sybase SQL Anywhere 16.0 » MobiLink - Getting Started » MobiLink tutorials » Tutorial: Introducing MobiLink

 

Lesson 12: Using the MobiLink Server Log File Viewer to check for errors and warnings

After the tables are synchronized, you can view the progress of the synchronizations using the message log files you created with each command line, mlsrv.mls and remote.dbs respectively. The default location of these files is the directory where the command was run.

Prérequis

This lesson assumes you have completed all preceding lessons. See Lesson 1: Setting up a MobiLink consolidated database.

This lesson assumes that you have the roles and privileges listed in the Privileges section at the start of this tutorial: Tutorial: Introducing MobiLink.

 Task
  1. In Sybase Central, click Tools » MobiLink 16 » MobiLink Server Log File Viewer.

  2. Open your log file in a text editor.

    Browse to c:\MLintro\mlintro_project\sync_mlintro_deploy\mlsrv.mls, and click Open.

    The MobiLink Server Log File Viewer window appears.

  3. Click the Synchronizations tab to look for errors and warnings that occurred during synchronizations.

  4. Click the Messages tab to look for errors and warnings that were reported by the MobiLink server.

    Clear the Show Information option, and click Apply.

    Only synchronizations that contain errors and warnings appear in the Messages pane. For example, you may see a warning that states the following:

    [10093] The MobiLink server is currently running with -zf that will reduce its performance
  5. Click the Summaries tab to look for overall statistics listed in the log file.

  6. Open a client log file, such as remote.dbs, in a text editor.

  7. 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.

Résultat

You have viewed the progress of the synchronizations using the message log files.

 See also