This article describes how to enable PortICA logging.
PortICA logging, in addition to enabling the Workstation Agent log, can be a useful tool when troubleshooting issues with the Virtual Desktop Agent (VDA). PortICA logging is not enabled by default on the VDA.
PortICA logging can be enabled using the LogEnabler tool or by following the Manual Method :
Download the LogEnablerV3.zip and extract it to a convenient location.
Double-click to start the application and select the appropriate options to enable or disable logging.
Create a new file named PorticaConfig.XML within the following directory:
C:\Program Files\Citrix\ICAService\XML\
Note: You must create the XML directory.
Copy and paste the following text into the file:
<?xml version="1.0" encoding="utf-8"?>
<Config xmlns="Portica.xsd">
<Portica>
<LogFile>
<LogLevel>5</LogLevel>
</LogFile>
<CdfTrace>
<LogLevel>5</LogLevel>
</CdfTrace>
<FunctionTrace>
<LogLevel>5</LogLevel>
</FunctionTrace>
</Portica>
</Config>
Save this file to the newly created XML directory.
Restart the Citrix ICA Service.
The log files is created using the following format:
porticaSvc_<timestamp>.log
Under Windows XP, the log files are generated and stored in the following directory:
C:\Documents and Settings\LocalService\Local Settings\Temp
For Windows 7 and Vista, the log files can be found in the following directory:
C:\Windows\ServiceProfiles\LocalService\AppData\Local\Temp
Within porticaConfig.XML, you can configure the level of logging used using the <LogLevel></LogLevel> value. Your options are 0, 1, 5, or 9; with 0 being the least verbose or no logging, and 9 being the most verbose (all available output). In most cases, a logging level of 5 is sufficient to triage PortICA issues.
Note: In Step 2, LogLevel is set to 5 for each of the logs.