Citrix WebInterface 4.x and 5.x mode debug

· 1 min read

Tracing is controlled by editing the web.config file for the site.

To cause debug tracing to be written to the file c:tempdebug.txt, the <trace> section must be updated:

<trace autoflush=”true”>

<listeners>

<add initializeData=”c:tempwi-debug.txt” />

</listeners>

</trace>

To turn on tracing for a particular category, the <switches> section must be edited:

<switches>

<add value=”1″ />

<addFONT-FAMILY: ‘Tahoma’,’sans-serif’; FONT-SIZE: 10pt; mso-ansi-language: EN-US” lang=EN-US> Logging” value=”1″ />

<addFONT-FAMILY: ‘Tahoma’,’sans-serif’; FONT-SIZE: 10pt; mso-ansi-language: EN-US” lang=EN-US> EUEM” value=”1″ />

</switches>

A value of switches 1 = tracing on, a value switches 0 =  tracing off.