Enabling logging for synchronization with Outlook for Mac

Microsoft Outlook for Mac uses the Exchange Web Services protocol (EWSExchange Web Services - Web services that enables applications to communicate with an Exchange server.) which runs over HTTPHypertext Transfer Protocol - A protocol for exchange of hypertext documents in HTML.(S).

EWS heavily depends on the server journal, therefore, it is helpful to enable specific message types logging in:

  • Kerio Connect
  • Microsoft Outlook for Mac

Enable specific logging in Kerio Connect

In the Kerio Connect Debug log, enable the following message types:

Error log and Warning log also help.

Journal log

EWS intensively uses the server journal and is affected by its performance. Kerio Connect saves the .journal.db file in the root of each mailbox folder.

By default, Kerio Connect saves the journal events for 60 days. To improve the journal performance, you can decrease the period:

  1. Stop Kerio Connect.
  2. Locate the configuration file of Kerio Connect.

The default location is:

  • Windows: C:\Program Files\Kerio\MailServer
  • Mac: /usr/local/kerio/mailserver
  • Linux: /opt/kerio/mailserver
  1. Open the mailserver.cfg file for editing.
  2. Locate the JournalLogExpiration value in the MessageStore table.

<variable name="JournalLogExpiration">60</variable>

  1. Change the number of days the journal log is saved.

NOTE

EWS requires the minimum of 30 days.

  1. Save the file.
  2. Start Kerio Connect.

NOTE

Deleting the .journal.db file may corrupt the synchronization of all dependent clients ((EWS, Exchange ActiveSyncA protocol that synchronizes data with computers and mobile devices. clients, KOFF) and users must create new profiles.

Enabling Error log in Outlook for Mac

For detailed information about logging in Outlook for Mac, see How to enable logging in Outlook for Mac on the Microsoft website.