To get or set audit logging for a trigger address, use the following sis-console commands, Ant task, or related MBean operations.

Console commands

getTriggerAddressAuditLogging

Command

gettriggeraddressauditlogging <ra-entity> <address>
    Determine if audit logging is enabled for a trigger address

Example

To determine if audit logging is enabled for trigger address 34607000123 in the SIS instance named sis:

$ ./sis-console gettriggeraddressauditlogging sis 34607000123
Audit logging for address 34607000123 is disabled

setTriggerAddressAuditLogging

Command

settriggeraddressauditlogging <ra-entity> <address> <boolean>
    Enable/disable audit logging for a trigger address

Example

To enable audit logging for trigger address 34607000123 in the SIS instance named sis:

$ ./sis-console settriggeraddressauditlogging sis 34607000123 true
Audit logging for address 34607000123 enabled

Ant task

setTriggerAddressAuditLogging

Task

<settriggeraddressauditlogging address="..." audit="..."/>

Example

<sis-in-management>
    <settriggeraddressauditlogging address="34607000123" audit="true"/>
</sis-in-management>

or

<sis-sip-management>
    <settriggeraddressauditlogging address="34607000123" audit="true"/>
</sis-sip-management>

MBean operations

MBean

isAuditLoggingEnabled

Operation

public boolean isAuditLoggingEnabled(String address)
    throws NullPointerException, ManagementException;

setAuditLoggingEnabled

Operation

public void setAuditLoggingEnabled(String address, boolean enabled)
    throws NullPointerException, ManagementException;
Previous page Next page
SIS Version 3.1.0