ProxySG Content Policy Language Guide

trace.rules( )

Determines whether trace output is generated showing policy rule evaluation for the transaction.

By default, trace output is written to an object accessible using the following console URL:

http://ProxySG_IP_address:8081/Policy/Trace/default_trace.html

The trace output location can be controlled using the trace.destination( ) property.

Note: Tracing is best used temporarily, such as for troubleshooting; the log_message( ) action is best for on-going monitoring.

Syntax

trace.rules(yesnoall)

where:

yes—Generates output only for rules that match the request.

allAdditionally shows which rules were skipped because one or more of their conditions were false or not applicable to the current transaction; displays the specific condition in the rule that failed.

noSuppresses output associated with policy rule evaluation.

The default value is no.

Layer and Transaction Note

Use in <Cache> and <Forward> layers.

Example

;Generate trace messages. <proxy>

trace.rules(yes) trace.request(yes)

See Also

Properties: trace.destination(), trace.request()

224

Page 224
Image 224
Blue Coat Systems Proxy SG manual Trace.rules