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.
C:Program FilesMicrosoft Lync Server 2013Debugging 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
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, replacing start
with stop
.c: emp
, and the filename is test.txt
):Ocstracer start /component:S4,TL_Verbose,TF_Component /logfilefolder:c: emp /logfilename:test.txt
To modify the default settings for OCSTracer, it is also possible to edit the OCSTracer.ini
file. All the default starting parameters, including the log file's path, are stored here.