ProxySG Content Policy Language Guide
154
access_log( )
Selects the access log used for this transaction. Multiple access logs can be selected to record a single
transaction. Individual access logs are referenced by the name given in configuration. Configuration also
determines the format of the each log. For more information on logging, refer to Chapter 19: “Access
Logging,” in the ProxySG Configuration and Management Guide.
To record entries in the event log, see "log_message( )" on page232.
Syntax
access_log(auto|no|log_name_list)
access_log.log_name(yes|no)
access_log.[log_name_list](yes|no)
The default value is auto.
where:
auto—use the default log for this protocol.
no—turns off logging, either for this transaction or to the specified log_name or log_name_list.
yes—turns on logging for this transaction to the specified log_name or log_name_list.
log_name—an access log name as defined in configuration
log_name_list—a list of access log names as defined in configuration, of the form:
log_name_1, log_name_2, ...
Discussion
Each of the syntax variants has a different role in selecting the list of access logs used to record the
transaction:
access_log( ) overrides any previous access log selections for this transaction.
access_log.log_name( ) selects or de-selects the named log, according to the specified value.
Any other log selections for the transaction are unaltered.
access_log.[log_name_list]( ) selects or de-selects all the logs named in the list, according to
the specified value. The selection of logs not named in the list is unaffected.
Layer and Transaction Notes
Use in all but <Admin> layers.
Applies to proxy transactions.
See Also
•Properties: log.suppress.field-id, log.rewrite.field-id( )
•Actions: log_message( )