Product Documentation

Logging

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

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

To generate a Provisioning Services ETL log, the CDF monitor must be installed. 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

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

Consider the following:

  • By default, this functionality is enabled.
  • The default disk size is 500MB.
  • 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 Provisioning Services 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