logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Remko Popma <remko.po...@gmail.com>
Subject Re: Recursive call to appender stackoverflow error
Date Fri, 11 Dec 2015 02:13:23 GMT
You may have both the log4j-to-slf4j adapter jar and the log4j-slf4j-impl jar on the classpath.
They will route calls to each other. You need to remove one of them. 

Sent from my iPhone

> On 2015/12/11, at 10:55, Priya Ahuja <priahuja321@gmail.com> 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: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org


Mime
View raw message