To
get or set audit logging for a composition,
use the following sis-console
commands, Ant task, or related MBean operations.
Console commands
getCompositionAuditLogging
Command |
getcompositionauditlogging <ra-entity> <CompositionID> Determine if audit logging is enabled for a composition |
---|---|
Example |
To determine if audit logging is enabled for the composition with identifier $ ./sis-console getcompositionauditlogging sis name=4000,vendor=OpenCloud,version=1.0 Audit logging for CompositionID[name=4000,vendor=OpenCloud,version=1.0] is disabled |
setCompositionAuditLogging
Command |
setcompositionauditlogging <ra-entity> <CompositionID> <boolean> Enable/disable audit logging for a composition |
---|---|
Example |
To enable audit logging for the composition with identifier $ ./sis-console setcompositionauditlogging sis name=4000,vendor=OpenCloud,version=1.0 true Audit logging for CompositionID[name=4000,vendor=OpenCloud,version=1.0] enabled |
Ant task
updatecomposition
Task |
<updatecomposition audit="..." debuglevel="..." > <composition name="..." vendor="..." version="..."/> </updatecomposition> |
---|---|
Example |
To enable audit logging for the composition with identifier <sis-in-management> <updatecomposition audit="true"> <composition name="4000" vendor="OpenCloud" version="1.0"/> </updatecomposition> </sis-in-management> or <sis-sip-management> <updatecomposition audit="true"> <composition name="4000" vendor="OpenCloud" version="1.0"/> </updatecomposition> </sis-sip-management> |
MBean operations
MBean |
---|
isAuditLoggingEnabled
Operation |
public boolean isAuditLoggingEnabled(CompositionID id) throws NullPointerException, UnrecognizedComponentException, ManagementException; |
---|
setAuditLoggingEnabled
Operation |
public void setAuditLoggingEnabled(CompositionID id, boolean enabled) throws NullPointerException, UnrecognizedComponentException, ManagementException; |
---|