Zarafa cached logging for Outlook
From Zarafa wiki
In rare occasions it can occur that some items are missing in outlook when Zarafa is in cached mode.
To debug this a synclog may be created. There are two forms of synclogs:
- Uncompressed - This will create one uncompressed log file, where new data will be appended at the end.
- Compressed - This will create one compressed log file for each Outlook session. So whenever Outlook is started a new log will be created.
Be aware that enabling any form of synclogging after one has determined that items are missing, will not help in debugging why those items are missing. It might however assist in finding the cause of items missing in the future. This means that a synclog is only of value if it was used during a synchronization in which items got lost.
Therefore it is advised to enable compressed synclogs as they have less impact on performance and disk usage because the logging must be enabled until new items are lost during synchronization.
Create an uncompressed synclog
Open regedit and create the following keys:
Location: HKEY_CURRENT_USER\Software\Zarafa\Client Name: SyncLog Type: DWORD (32-bit) Value data: 1 to activate, 0 to disable Base: Decimal
Location: HKEY_CURRENT_USER\Software\Zarafa\Client Name: SyncLogLevel Type: DWORD (32-bit) Value data: 6 Base: Decimal
Note: Setting the SyncLogLevel to anything less than 6 makes it unsuitable for debugging.
The uncompressed synclog can be found at:
C:\Documents and Settings\%USERNAME%\Local Settings\Temp\synclog.txt
Or for Vista/Windows 7 at:
C:\Users\%USERNAME%\AppData\Local\Temp\synclog.txt
Create compressed synclogs
Open regedit and create the following key:
Location: HKEY_CURRENT_USER\Software\Zarafa\Client Name: SyncOptions Type: DWORD (32-bit) Value data: 15 Base: Decimal
If a SyncOptions value is already present, the existing Value should be bitwise orred with 8 instead of just setting it to 15.
Compressed synclogs can be found at:
C:\Documents and Settings\%USERNAME%\Local Settings\Temp\synclog_<number>.txt.gz where <number> is the unix timestamp of when the log was created.
Or for Vista/Windows 7 at:
C:\Users\%USERNAME%\AppData\Local\Temp\synclog_<number>.txt.gz
Note: Compressed log files will not be complete until Outlook is closed.