Lync Server 2010 Logging Tool


Topic Last Modified: 2011-01-26

Microsoft Lync Server 2010 Logging Tool integrates a range of logging and tracing functionality. It facilitates troubleshooting by capturing logging and tracing information from the product while the product is running. Logging Tool is installed with the Lync Server administrative tools. You can use Logging Tool to run debug sessions on any Lync Server server role.

Lync Server 2010 Logging Tool generates log files on a per-server basis, so it must be actively running and tracing on each computer for which you want to generate a log.


To view and analyze log files on a computer other than the one on which the logs were captured, you can run the Lync Server 2010 Logging Tool on the other computer by installing the Lync Server administrative tools on that computer. OCSLogger.exe is the file that runs Logging Tool, which by default is installed to %ProgramFiles%\Common Files\Microsoft Lync Server 2010\Tracing. You can run OCSLogger.exe on computers running the Windows XP, Windows Vista, or Windows 7 operating systems, as well as on Windows Server 2003, Windows Server 2008 SP1, and Windows Server 2008 R2. To run OCSLogger.exe on Windows Vista or Windows 7, you must run the application in the Run as Administrator mode.

To start Lync Server 2010 Logging Tool

Do one of the following:

  • Open a command prompt (either Command Prompt, Windows PowerShell, or Lync Server Management Shell). Navigate to the folder where OCSLogger.exe is installed (by default, %ProgramFiles%\Common Files\Microsoft Lync Server 2010\Tracing), type OCSLogger.exe, and then press Enter.

  • On the Start menu, open the Run dialog box. Type the full path and file name, by default %ProgramFiles%\Common Files\Microsoft Lync Server 2010\Tracing\OCSLogger.exe) and then click OK.

  • On the Start menu, click inside the Search box. Type OCSLogger.exe and then press Enter.


You must be a member of the Local Administrators group on the computer where you are running Logging Tool (OCSLogger.exe).