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:
- Services > HTTP Server
- Message Store > Journal Database
- HTTP Server Modules > EWS
- HTTP Server Modules > WebDAVWeb Distributed Authoring and Versioning is a framework that enables users to work with documents on a server. Server Requests (if you use Free/Busy)
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:
- Stop Kerio Connect.
- 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
- Open the
mailserver.cfg
file for editing. - Locate the
JournalLogExpiration
value in theMessageStore
table.
<variable name="JournalLogExpiration">60</variable>
- Change the number of days the journal log is saved.
NOTE
EWS requires the minimum of 30 days.
- Save the file.
- 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.