Logging/Tracing in Lync Server 2013
In Lync Server 2013 the way to enable tracing has changed there is no longer GUI to enable the tracing, its done via command line.
The command is “ClsController.exe” and is located in “C:\Program Files\Common Files\Microsoft Lync Server 2013\ClsAgent\” on the Lync 2013 Server, in Lync 2010 you ran the “Lync logging Tool” and selected components that you wished to trace, started the trace and re-created the problem, stopped the trace and then “Analysed” the trace with the snooper tool.
Lync 2013 doesn’t allow you to select the components that you wish to trace, you now select a scenario that you wish to trace/
The flow is now:
- ClsController.exe -start –scenario
- Reproduce the Issue
- ClsController.exe -stop –scenario
- ClsController.exe -flush –pools
- ClsController.exe -search –pools
Today I came across this post byRichard Brynteson at MasteringLync.com
The output file is created on the desktop of the user logged in running the bat file, then you can use snooper from the Lync Debug Tools to open the file
All Lync Server 2013 have the ClsAgent running on them, so you only need to run the ClsController.exe once and it will collect from all servers in the pool identified.