Configuring logging for XenDesktop®
To troubleshoot all the issues arising in the XenDesktop environment, you should be aware of what is cooking under the hood of the XenDesktop architecture. For this purpose, enabling service logging, VDA agent logging, and Controller logging is very essential and the key point here.
Service-based logging can be enabled via the command line or by using Citrix Scout, which is installed by default on XenDesktop 7.5 and later versions. Citrix Scout lacks some feature logging capability; it doesn't enable Citrix Broker Service agent logging.
So, it's always better to enable your environment's service-based logging using the command line or PowerShell:
Note
An example command to enable Citrix Broker Service log is as follows:
BrokerService.exe –Logfile "C:\XDLogs\Citrix Broker Service.log"
You need to run this command from the CMD prompt while in the appropriate service directory, which is C:\Program Files\Citrix\Broker\Service...