Since I discovered some performance issues with log4j 1.2.x, I tried migrating to log4j2.
Now I encountered a problem for which I can't find a solution. I have to rewrite the configuration file that was for log4j 1.2.x into a v2 compatible one. Problem occurs when I reached the property inside of an appender, called "errorHandler".
Here is where errorHandler appears in my log4j 1.2.x context:
<appender name="CONSOLE" class="org.apache.log4j.ConsoleAppender">
<errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
<param name="Target" value="System.out"/>
<param name="Threshold" value="WARN"/>
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="%d %-5p [%t] %c - %m%n"/>
</layout>
</appender>
Could anybody tell me, which is the similar property, if exists one, in the log4j2 for errorHandler? Or maybe, another alternative in log4j2 that would give me the exactly same result?
Thanks in advance.