≡ Menu

Enable debug logging on Citrix XenDesktop VDI agent

For troubleshooting weird issues, we need debug logging to be enabled at VM side in a Citrix XenDesktop VDI environment. This article explains how to enable this debug logging.

  1. Find WorkstationAgent.exe.config in C:\Program Files\Citrix\Virtual Desktop Agent folder and edit it
  2. Take a back of workstationagent.exe.config file. We can revert to this if something screwed up.
  3. Add the the LogFileName key as shown below.
  4.     <appSettings>
    <add key=”LogToCDF” value =”1″/>
            <add key=”LogFileName” value =”c:\temp\workstationlog.log”/>
    </appSettings>

  5. Save the file and restart Citrix Desktop Service

The file C:\temp\workstationlog.log file will be populated with all the debug information.

Hope this helps