您的位置:首页 > Web前端

How to Enable the Controller Service Logging Feature of XenDesktop 5

2012-02-19 00:11 1071 查看
SummaryThis 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 <appSettings> section:
<appSettings>
<add key="LogToCDF" value="1"/>
</appSettings>
Replace the existing section with the following values:
<appSettings>
<add key="LogToCDF" value ="1"/>
<add key="LogFileName" value ="C:\XDLogs\Broker.log"/>
<add key="OverwriteLogFile" value ="1"/>
</appSettings>
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
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: