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:
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
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 |
<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
相关文章推荐
- How to enable the use of 'Ad Hoc Distributed Queries' by using sp_configure
- How to Enable Trace or Debug for APIs executed as SQL Script Outside of the Applications ?
- How to enable single sign-on service on the SPS
- xendesktop 7 How to Make StoreFront the Default Page within IIS
- How to reduce the size of logging database OR How to purge the old data from Logging Database
- How to Enable Trace or Debug for APIs executed as SQL Script Outside of the Applications ?
- How to Enable Trace or Debug for APIs executed as SQL Script Outside of the Applications ?
- How to remove the bottom gap of UIPageViewController
- How to Enable Trace or Debug for APIs executed as SQL Script Outside of the Applications ?
- how to enable #ifdef macro in the command line of make?
- How to enable the IntelliSense of SQL Server 2008
- the diary of how to get a random word within a file
- How To get the Real length of a string with chinese words
- How to solve the problem "A project with an Output Type of Class Library cannot be started directly "
- How to alignment the center position of the button in Android?
- How to Tell if the I/O of the Database is Slow - 1
- 1TB is equal to the number of how many GB? 1PB equal to is equal to the number of TB? 1EB PB? | PC-fault.com
- How to solve the issue of RSARTE's starting problem
- Hadoop cluster security2: How to enable hadoop Service Level Authorization
- How to Interpret the OS stats section of an AWR report (文档 ID 762526.1)