How to Enable Logging for Citrix Director

How to Enable Logging for Citrix Director

book

Article ID: CTX130320

calendar_today

Updated On:

Description

This article contains information about logging for Citrix Director. To learn about Citrix Director, please visit Citrix Documentation - Director.


Instructions

The following are two methods for collecting logs for Citrix Director:

CDF Tracing

When using CDF tracing, select DirectorService.
Director

Specify the CDF Control log collection settings from Tools-->Options

Director2
For information about installing and using CDF Control, see CTX111961 - CDFControl

Application Settings in IIS

Complete the following procedure to enable logging for Desktop Director through Application Settings in IIS:

  1. Create a folder for logs (for example, c:\logs) or use an existing folder.
  2. Create a text file (for example, c:\logs\desktopdirector.txt) and add appropriate permission.
  3. ​Open IIS Manager.
  4. In the Connections panel, access Default Web Site > DesktopDirector.
  5. Double-click Application Settings.
  6. Ensure Log.File.Overwrite is set to 1.
  7. Select the Log.FileName application setting and click Edit. In the Value field, type the path and filename of the log file
  8. Change the value to 1 for the following logs:

           Log.IncludeLocation
           Log.LogToCdf
           Log.LogToConsole
           Log.LogToDebug
           Log.LogToFile

       9. Restart IIS

Note: When you access Citrix Director, there must already be log entries. If log entries are not available, verify the log file path. Ensure that the log file name is complete; you have edited the filename and extension in Application Settings and created the permissions .txt file. Ensure that the IIS can write to the folder. You might be required to add the local Server\IIS_IUSRS group with write permission to the folder, as shown in the following screen shot:
User-added image

     10. To stop the IIS service after collecting logs, right click the Server in the IIS console and click Stop.

     11. Copy the log file, and start the web server again. To do so, right click the Server in the IIS console and click Start.

Issue/Introduction

This article contains information about logging for Citrix Director.