Return-Path: X-Original-To: apmail-logging-log4j-user-archive@www.apache.org Delivered-To: apmail-logging-log4j-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D7A5A189F0 for ; Fri, 11 Dec 2015 02:13:42 +0000 (UTC) Received: (qmail 16916 invoked by uid 500); 11 Dec 2015 02:13:42 -0000 Delivered-To: apmail-logging-log4j-user-archive@logging.apache.org Received: (qmail 16862 invoked by uid 500); 11 Dec 2015 02:13:42 -0000 Mailing-List: contact log4j-user-help@logging.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Log4J Users List" Reply-To: "Log4J Users List" Delivered-To: mailing list log4j-user@logging.apache.org Received: (qmail 16850 invoked by uid 99); 11 Dec 2015 02:13:41 -0000 Received: from Unknown (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Dec 2015 02:13:41 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 68270180B52 for ; Fri, 11 Dec 2015 02:13:41 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.101 X-Spam-Level: X-Spam-Status: No, score=-0.101 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_MSPIKE_H2=-0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id BWzpUX0wPVQq for ; Fri, 11 Dec 2015 02:13:37 +0000 (UTC) Received: from mail-pf0-f169.google.com (mail-pf0-f169.google.com [209.85.192.169]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTPS id AF35420C70 for ; Fri, 11 Dec 2015 02:13:36 +0000 (UTC) Received: by pfbg73 with SMTP id g73so58705240pfb.1 for ; Thu, 10 Dec 2015 18:13:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-type:content-transfer-encoding:mime-version:subject :message-id:date:references:in-reply-to:to; bh=WLkYmb/SOdHbrcSwXxilqAMJUIB5eb3S7O1ZMfQ/vsA=; b=NDhDvCxiwmtKS2YQgOvqCCVa9kFNV/eA1NjLTEdE4frBHnEVBMo9pCRokFaKHvG6Yw Mm0tQYGzXdqcfyBmMf2u+bvO3cGY9SWtd1n19oaLhuwZRVkpVsnz8HovL7waXBIsduDP pTzYO2Tyy+xfuw4cStyftgTeEs8WnkmCRjUpnQZIAYRMKV/LjOnekpA8Gv/ksVazCgZU mBvbm1aRu8To5HRTEeOVb1yxgmgrp2EPnCRuUBkKlo/2QyNxFpxZ1QuV0YpgeTwDcNQg rYwo4DxYuZ+TiYfDq0urfXlTtyfHdecBtz06SDlCUpedi/u86lJKisg/bQ0JNDx0LEp7 eupQ== X-Received: by 10.98.74.26 with SMTP id x26mr11504133pfa.15.1449800009275; Thu, 10 Dec 2015 18:13:29 -0800 (PST) Received: from [10.67.23.48] (pw126253140092.6.panda-world.ne.jp. [126.253.140.92]) by smtp.gmail.com with ESMTPSA id y22sm21099642pfi.95.2015.12.10.18.13.28 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 10 Dec 2015 18:13:28 -0800 (PST) From: Remko Popma Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (1.0) Subject: Re: Recursive call to appender stackoverflow error Message-Id: <0BA91C16-53F9-43CE-A898-845FC2496625@gmail.com> Date: Fri, 11 Dec 2015 11:13:23 +0900 References: In-Reply-To: To: Log4J Users List X-Mailer: iPhone Mail (13B143) You may have both the log4j-to-slf4j adapter jar and the log4j-slf4j-impl ja= r on the classpath. They will route calls to each other. You need to remove o= ne of them.=20 Sent from my iPhone > On 2015/12/11, at 10:55, Priya Ahuja wrote: >=20 > Hi, >=20 > Any idea why I am seeing stackoverflow error? I am using log4j2 and LOGFIL= E > is my rolling file appender. >=20 > Exception in thread > "pool-28-thread-2-workitem-HOST-cf95a544-c4b1-4084-861b-80e4ed4f4045-worki= tem-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-worki= tem-HOST-ff45f0c7-e25e-48f8-ba7c-199912c015ac" > java.lang.StackOverflowError > at > org.apache.logging.log4j.spi.AbstractLogger.isTraceEnabled(AbstractLogger.= java:591) >=20 >=20 > Thanks, > Priya Ahuja --------------------------------------------------------------------- To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org For additional commands, e-mail: log4j-user-help@logging.apache.org