The OCSTracer.exe
tool is a command-line utility (part of the Lync Server 2013 Debugging Tools, as the previous tools), which enables logging from a command line. We will see some practical examples in this section.
From a command line, go to the
C:\Program Files\Microsoft Lync Server 2013\Debugging Tools
folder and run the following command to log the S4 component, with verbose level (TL_Verbose) on the TF_Component as follows:ocstracer start /component:S4,TL_Verbose,TF_Component
To stop all the tracing, we can use the
ocstracer stop
command. If we want to stop only a part of the tracing, we have to launch a command similar to the one used for the launch, replacingstart
withstop
.We will receive an on-screen notification about the number of buffers and events recorded, as shown in the following screenshot:
To select a path and a filename for the log, we can use the following command (the selected path for the example is
c:\temp
,...