The error message regarding the recursive call indicates that an appender is logging an event which is being routed to the same appender. Log4j detects that and ignores the logging event. But without seeing a stack trace it would be impossible to guess what is going on. I can’t even tell what Appender(s) is/are involved based on the information provided.
Ralph > On Dec 10, 2015, at 6:55 PM, Priya Ahuja <[email protected]> wrote: > > Hi, > > Any idea why I am seeing stackoverflow error? I am using log4j2 and LOGFILE > is my rolling file appender. > > Exception in thread > "pool-28-thread-2-workitem-HOST-cf95a544-c4b1-4084-861b-80e4ed4f4045-workitem-HOST-56de5b12-2d80-49c8-8b21-90433c89a2a1" > java.lang.StackOverflowError > Exception in thread > "pool-37-thread-1-workitem-HOST-ba35b9e4-1c83-4a42-af8a-6902f2eed941" > java.lang.StackOverflowError > 2015-12-10 17:22:11,041 ERROR Recursive call to appender LOGFILE > 2015-12-10 17:22:11,042 ERROR Recursive call to appender LOGFILE > 2015-12-10 17:22:11,042 ERROR Recursive call to appender LOGFILE > 2015-12-10 17:22:11,042 ERROR Recursive call to appender LOGFILE > Exception in thread > "pool-37-thread-2-workitem-HOST-5162cb6e-16bc-4754-a44b-1947e441a3b5-workitem-HOST-ff45f0c7-e25e-48f8-ba7c-199912c015ac" > java.lang.StackOverflowError > at > org.apache.logging.log4j.spi.AbstractLogger.isTraceEnabled(AbstractLogger.java:591) > > > Thanks, > Priya Ahuja --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
