you are trying to clear the list of appenderRefs. Are you trying to call clearAppenders() instead of clear()?
On Wednesday, March 25, 2020, 10:03:27 AM EDT, EDMONDO SENA <edse...@gmail.com> wrote: Why this instruction goes in UnsupportedOperationException? List<AppenderRef> value = loggerConfig.getAppenderRefs(); value.clear(); --------------------------------------------------------------------- To unsubscribe, e-mail: log4j-user-unsubscr...@logging.apache.org For additional commands, e-mail: log4j-user-h...@logging.apache.org