You can also do it this way:

{code:groovy}
def JmxAttributeStatisticsAppender perf4jJmxAppender = null

appender("Per4j", JmxAttributeStatisticsAppender) {
    perf4jJmxAppender = component
}

appender("CoalescingStatistics", AsyncCoalescingStatisticsAppender) {
    component.addAppender(perf4jJmxAppender)
}
{code:groovy}

This relies on the "component" field in ch.qos.logback.classic.gaffer.ComponentDelegate, so if/when that changes, this won't work.
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira