Logging

Citrix Provisioning uses Citrix Diagnostic Facility (CDF) tracing for troubleshooting and managing a Provisioning Services farm.

Use the PVSDataCollector v2.0.0 tool to collect all Citrix Provisioning data, including the ETL log. For details, refer to http://support.citrix.com/article/CTX136079.

To generate a Citrix Provisioning ETL log, you must install the CDF monitor. For details on installing the monitor, refer to: http://support.citrix.com/article/CTX138698.

To review ETL logs using CDF, refer to http://support.citrix.com/article/CTX111961.

Always on Tracing

Citrix Provisioning updated Always on Tracing (AOT) functionality. In previous releases, AOT logs were stored in the memory of the Provisioning Server. In the event of a crash, the Server would lose these log files. To resolve this issue, Citrix Provisioning now allows you to store AOT logs directly to disk. The administrator can use PoSH on the Provisioning Server to configure this functionality.

Consider the following:

  • By default, this functionality is enabled.
  • The default disk size is 500 MB.
  • AOT logs are saved in C:\ProgramData\Citrix\Provisioning Services\Log\AOT.
  • Use PoSH commands to modify or disable the feature.
  • This functionality records CPU and IOPS.

Saving AOT logs to disk

Use the Enable-CitrixTrace Powershell telemetry command to allow Citrix Provisioning to save trace files on disk at a given persistDirectory. The maximum size of the trace files (in bytes) stored is configured using the maxSizeBytes parameter. The sliceDurationSeconds parameter defines the duration, in seconds, of the slice/block trace.

The syntax for this command is:

    Enable-CitrixTrace -Listen

    '{"trace":

    {"enabled": true,

    "persistDirectory":"C:\ProgramData\Citrix\Provisioning Services\Log\AOT",

    "maxSizeBytes": 524288000,

    "sliceDurationSeconds": 300

    }

    }'

For example:

C:\PS>Enable-CitrixTrace -Listen ‘{“trace” :{“enabled”: true, “persistDirectory”: “C:\Users\Public”,”maxSizeBytes”: 1000000, “sliceDurationSeconds”: 300}}’

Image of the Powershell telemetry command

Logging

In this article