Wednesday, August 29, 2012

Lync 2013 - Using ClsController.exe instead of ocslogger.exe


Required Reading: 

One of the things that I felt that Jens did not cover was additional detail on sub components of the scenarios that Microsoft gives us with the new clscontroller.exe.  Below are a list of the scenarios, the text name  of the scenario, and the logging subcomponents included in the scenario.

All of this detail is attainable using the method Jens described in the bottom of his post, I just cleaned it up and made a table, so all the credit is to his work.  :)

One of the things that I have not really seen discussed or posted about much is that when using clscontroller, one of the intended benefits is that you do not have to stop/start logging.    AlwaysOn is….  Always on.  So you can just utilize the last command in Jen's blog:

.\ClsController.exe -search -pools redmond.contoso.com -components SipStack -loglevel verbose > c:\temp\redmond_sipstack_logs.txt

You can further narrow your search using -phone, -uri, or -ip like this:
.\ClsController.exe -search -pools redmond.contoso.com -components SipStack -loglevel verbose -uri john@contoso.com > c:\temp\redmond_sipstack_logs_filtered.txt

I have not been able to successfully utilize  the filters however, and started a forum post here regarding it.


Scenario
Description
Logging Subcomponents
AlwaysOn
This scenario will the one that is always running when no other scenario is active.  This is the one the registry will be configured with to enable on machine startup
AsMcu
AVMCU
AVMP
CAAServer
Collaboration
DataMCU
DataMcuRuntime
ExumRouting
IMMCU
InboundRouting
InterClusterRouting
McuInfra
MediationServer
OutboundRouting
Routing_Data_Sync_Agent
S4
ServerTransportAdaptor
Sipstack
LDM
AppShareOoty
RdpApiTrace
UserServices
UDCAgent
PNCHService
TenantAdminUI
HostedMigration
Powershell
UCWA
GCCommon
GCEndpoint
GCServer
GCCompliance
GCWebService
XmppTGW
XmppCommonLibrary
XmppListener
XmppRouting
XmppTGWProxy
Lyss
StoreWeb
TranslationApplication
RgsClientsLib
RgsCommonLibrary
RgsDatastores
RgsDiagnostics
RgsHostingFramework
RgsMatchMakingService
RgsPowershell
CpsDiagnostics
CpsHostingFramework
CpsOrbit
JoinLauncher
WebInfrastructure
Infrastructure
InternalCommon
MediaConnectivity
Media Connectivity
MediaStack_AUDIO_AGC
MediaStack_AUDIO_DRC
MediaStack_AUDIO_ECHODT
MediaStack_AUDIO_FAXDT
MediaStack_AUDIO_HEALER
MediaStack_AUDIO_NOISEDT
MediaStack_AUDIO_VAD
MediaStack_AUDIO_VSP
MediaStack_AudioCodecs
MediaStack_AudioEngine
MediaStack_COMAPI
MediaStack_COMMON
MediaStack_Crossbar
MediaStack_Crypto
MediaStack_DebugUI
MediaStack_DebugUI_AEC
MediaStack_DEVICE
MediaStack_MassConvertedTraces1
MediaStack_MediaManager
MediaStack_PerFrame
MediaStack_PerPacket
MediaStack_QualityController
MediaStack_RTCP
MediaStack_RTP
MediaStack_StreamingEngine
MediaStack_TLS
MediaStack_Transport
MediaStack_VIDEO
MediaStack_VOICEENHANCE
ApplicationSharing
Application Sharing
AsMcu
AppShareOoty
ServerTransportAdaptor
RDPApiTrace
MCUInfra
Collaboration
S4
AudioVideoConferencingIssue
Audio Video Conferencing Issue
AvMcu
AvMP
MCUInfra
Collaboration
S4
HybridVoice
Hybrid Voice
MediationServer
S4
Sipstack
OutboundRouting
TranslationApplication
IncomingAndOutgoingCall
Incoming And Outgoing Call
MediationServer
S4
Sipstack
TranslationApplication
OutboundRouting
InboundRouting
UserServices
VoiceMail
Voice Mail
Sipstack
Sipstack*
ExumRouting
InboundRouting
IMAndPresence
IM And Presence
Sipstack
UserServices
AddressBook
Address Book
ABCommon
ABServer
ABServerIISModule
Dlx
DeviceUpdate
Device Update
DeviceUpdate
DeviceUpdateHttpHandler
LYSSAndUCS
LYSS And UCS
UserServices
Lyss
McuInfra
CLS
Centralized Logging Service
CLSAgent
CLSCommon
CLSController
CLSControllerLib
SP
Support Portal
SupportPortal
SPHelper
SPModule
SPSearchTool
SPCLSTool
CLSCommon
CLSControllerLib
WAC
WAC
DataMCURunTime
DataMCU
LDM
Infrastructure
WebInfrastructure
InternalCommon
UserReplicator
User Replicator
UserServices
HostedMigration
Hosted Migration
HostedMigration
Powershell
WebInfrastructure
MonitoringAndArchiving
Monitoring And Archiving
UDCAgent
LILRLegacy
LILR Legacy
LogRetention
LegalIntercept
LILRLYSS
LILR LYSS
LogRetention
UDCAgent
MeetingJoin
Meeting Join
Collaboration
S4
UserServices
McuInfra
JoinLauncher
WebInfrastructure
Infrastructure
InternalCommon
UCWA
RGS
Response Group Service
RgsClientsLib
RgsCommonLibrary
RgsDatastores
RgsDeploymentApi
RgsDeploymentLibrary
RgsDiagnostics
RgsHostingFramework
RgsMatchMakingService
RgsPowershell
Collaboration
S4
Sipstack
CPS
Call Park Service
CpsDiagnostics
CpsHostingFramework
CpsOrbit
Collaboration
S4
Sipstack
XMPP
XMPP Gateway
XmppTGW
XmppCommonLibrary
XmppListener
XmppRouting
XmppTGWProxy
Collaboration
S4
Sipstack
CAA
Conference Auto Attendant
CAAServer
Collaboration
S4
Sipstack
UserServices

*Not sure why, but it was listed twice.