Blue Coat Systems Proxy SG manual Logmessage

Models: Proxy SG

1 314
Download 314 pages 28.21 Kb
Page 232
Image 232

ProxySG Content Policy Language Guide

log_message( )

Writes the specified string to the ProxySG event log.

Events generated by log_message( ) are viewed by selecting the Policy messages event logging level in the Management Console.

Note: This is independent of access logging.

Syntax

log_message(string)

Where string is a quoted string that can optionally include one or more variable substitutions.

Layer and Transaction Notes

Can be referenced by any layer.

Example

; Log the action taken, and include the original value of the Referer header.

define action DeleteReferer

log_message("Referer header deleted: $(request.header.Referer)") delete(request.header.Referer)

end action DeleteReferer

See Also

Actions: notify_email( ), notify_snmp( )

Properties: access_log( ), log.rewrite( ), log.suppress( )

232

Page 232
Image 232
Blue Coat Systems Proxy SG manual Logmessage