How to enable loggers using UI and Log4j2 textbox