Log4j ScriptFilter for only logging when logger name starts with a certain word?
I am trying to write a log4j2 xml file where some of the appenders will only allow logs if the logger name starts with a specific word, for example “foo”. In this instance I’m using a Kafka filter to write to an event hub.