Retrieval of a List of Active Log Buckets

Retrieves a list of active log buckets.

Syntax

Collection<LogAppenderVO> getActiveLogAppenders() throws SUPAdminException;

Returns

If successful, returns an object of the specified type (can be null). If unsuccessful, returns SUPAdminException.

Examples

  • Retrieve Active Log Buckets
    supServerLog.refresh();
    LogAppenderVO lavo = supServerLog.getActiveLogAppenders().iterator().next();
    for(LogBucketVO lbvo : lavo.getChildren()){
    	System.out.println(lbvo.getType());
    	System.out.println(lbvo.getProperties());
    }