public boolean detachAppender ( String name ) { if ( name == null ) { return false ; } boolean removed = false ; for ( Appender < E > a : appenderList ) { if ( name . equals ( ( a ) . getName ( ) ) ) { removed = appenderList . remove ( a ) ; break ; } } return removed ; }
Remove the appender with the name passed as parameter form the list of appenders .