Summary

This article describes how to configure the controller service logging feature of XenDesktop 5.

Procedure

To configure the controller service logging feature of XenDesktop 5, use the steps below:

  • Create the C:\XDLogs folder on the Desktop Delivery Controller (DDC) and ensure that the Network Service has New Technology File System (NTFS) full control permissions for this folder.

  • Open the appropriate .config file in a text editor, such as Notepad.
    Refer to the following table for an appropriate file and location:

 

Service

Configuration File

Location

Component

Broker Service

BrokerService.exe.Config

%ProgramFiIes%\Citrix\Broker\Service

Broker (DDC)

Machine Creation Service

Citrix.MachineCreation.SdkWcfEndpoint.exe.Config

%ProgramFiles%\Citrix\MachineCreation\Service

Broker (DDC)

ADIdentity Service

Citrix.ADIdentity.SdkWcfEndpoint.exe.Config

%ProgramFiles%\Citrix\ADIdentity\Service

Broker (DDC)

Configuration Service

Citrix.Configuration.SdkWcfEndpoint.exe.Config

%ProgramFiles%\Citrix\Configuration\Service

Broker (DDC)

Machine Identity Service

Citrix.Machineldentity.SdkWcfEndpoint.exe.Config

%ProgramFiIes%\Citrix\MachineIdentity\Service

Broker (DDC)

Citrix Host Service

Citrix.Host.SdkWcfEndpoint.exe.Config

%ProgramFiIes%\Citrix\Host\Service

Broker (DDC)

WorkStation Agent

WorkStationAgent.exe.config

%ProgramFiIes%\Citrix\Virtual Desktop Agent

VDA

 Search for the following section:


     

 Replace the existing section with the following values:


     
     
     

Note: Make sure to update the path of the LogFileName with the correct service name. For example, C:\XDLogs\Broker.log would be used to obtain the Broker Service logs. C:\XDLogs\MachineCreationService.log would be used to obtain log from the Machine Creation Service, etc…

Note: If the value of the OverwriteLogFile parameter is value is set to 1, which enables overwriting the log file, the log file is overwritten each time the service is started.

  • Save and close the .config file.

  • Restart the service(s) to start logging.

Note: By default, all services are configured only to log messages to Citrix Diagnostic Facility (CDF). To disable any service from logging messages to CDF, update the value of the LogToCDF parameter to 0, save the .config file, and restart the appropriate service.

From: http://support.citrix.com/article/CTX127492