Blue Coat Systems Time Clock Proxy SG 用户手册
ProxySG Content Policy Language Guide
232
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.
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( )