book
Article ID: CTX236307
calendar_today
Updated On:
Description
Due to local disk space constraints or for Non-Persistent VDA's administrator may want to save the CDF Monitor logs on a UNC network share.
Instructions
NOTE : CDFMonitor is now deprecated, use CDFControl to log trace to UNC -> https://support.citrix.com/article/CTX678050/citrix-cdfcontrol-service-how-to-save-logs-on-a-unc-network-share

- CDFMonitor.exe.config file includes the settings which are used during CDF log collection. By default :
1. The value of "logtoetl" is set to "False".
2. The value of "tracefile" is blank.

- Edit CDFMonitor.exe.config file contains the configuration settings that are used using CDF log collection.
- Make the below changes and save the changes to CDFMonitor.exe.config file.
<add key="logtoetl" value="True" />
<add key="tracefile" value="\\ServerName\ShareName\%computername%.etl" />

- If you are installing Citrix CDFMonitor Service for the first time, then from admin cmd line navigate to the folder where the CDFMonitor.exe is saved and run the below cmd to install Citrix CDFMonitor Service.
cdfmonitor.exe /installservice
- If Citrix CDFMonitor Service was previously installed with old settings then for the new settings to take effect, you need to run the below commands to uninstall and then reinstall the service.
cdfmonitor.exe /uninstallservice
cdfmonitor.exe /installservice
- Once the Citrix CDFMonitor Service is re-installed successfully then a .etl file should get created in the shared folder with the ComputerName of each VDA where CDFMonitor was installed with above settings.
Issue/Introduction
How to Save CDF Monitor Logs On A UNC Network Share