Tracing from a command line with OCSTracer
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.
How to do it...
- 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 ...
Get Lync Server Cookbook now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.