Return-Path: X-Original-To: apmail-logging-log4j-dev-archive@www.apache.org Delivered-To: apmail-logging-log4j-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 91819171C6 for ; Sun, 5 Apr 2015 21:09:51 +0000 (UTC) Received: (qmail 97765 invoked by uid 500); 5 Apr 2015 21:09:46 -0000 Delivered-To: apmail-logging-log4j-dev-archive@logging.apache.org Received: (qmail 97714 invoked by uid 500); 5 Apr 2015 21:09:46 -0000 Mailing-List: contact log4j-dev-help@logging.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Log4J Developers List" Reply-To: "Log4J Developers List" Delivered-To: mailing list log4j-dev@logging.apache.org Received: (qmail 97702 invoked by uid 99); 5 Apr 2015 21:09:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 05 Apr 2015 21:09:46 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of garydgregory@gmail.com designates 74.125.82.45 as permitted sender) Received: from [74.125.82.45] (HELO mail-wg0-f45.google.com) (74.125.82.45) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 05 Apr 2015 21:09:42 +0000 Received: by wgra20 with SMTP id a20so13758334wgr.3 for ; Sun, 05 Apr 2015 14:07:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=aaT+CYUCi6vo23pCxwKGRG7c+xeSRsbGdsx63q1x3nc=; b=CfOvIxUedZVfw6hYHYib7wQ5inwBiSXT+QsdPXHOyDeEStXNXiHI2JPqWyrLe+EN2D iJ3RV059u1sbmdFKTgpbh2maJnxOSRUYnKz/xIRJC2rTHf4L00k5meCeECRbYdXyA+XH gwk6olpYaFCRPKTyK2BOk5Y9g39u++G+BxY8aBie1kWcrtkXiE0SaT1ErH81IYivvd3M Fs9qIRlznxmqbldpcY0Xqp92m+usxlD74eTOiiIgA4tz1wRMVSE0wEsDcAVyR6TWrm2A a4gpZSsx1uDfSzhBJeUCo2iHG/2lQ3vUAjWj0qjvMJGKpcLXoLT3bNfWPTtfgy1AjCQf RvJg== MIME-Version: 1.0 X-Received: by 10.194.61.244 with SMTP id t20mr24111743wjr.83.1428268026590; Sun, 05 Apr 2015 14:07:06 -0700 (PDT) Received: by 10.27.83.211 with HTTP; Sun, 5 Apr 2015 14:07:06 -0700 (PDT) In-Reply-To: References: Date: Sun, 5 Apr 2015 14:07:06 -0700 Message-ID: Subject: Re: log4j-jul tests fail From: Gary Gregory To: Log4J Developers List Content-Type: multipart/alternative; boundary=047d7b86e4065e7bd005130090b2 X-Virus-Checked: Checked by ClamAV on apache.org --047d7b86e4065e7bd005130090b2 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I wonder if this has to do with tests being forked vs. not. When _not_ forked, then this would happen I am guessing. I am also guessing that something has changed in JUnit or Surefire. Perhaps all this needs is setting fork to true for tests that create the issue in the 1st place? Gary On Sun, Apr 5, 2015 at 10:18 AM, Ralph Goers wrote: > Oops. I just saw this thread. I am getting the same error and won=E2=80= =99t be > able to perform a release until this is fixed. Anyone no what commit brok= e > it? > > Ralph > > > On Apr 5, 2015, at 8:27 AM, Gary Gregory wrote= : > > > > I think it has something to do with the fact that you cannot uninstall > our JUL layer or other layer so the wrong code is installed at some point > in the whole test suite. I am guessing it runs fine on its own. > > > > Gary > > > > > > -------- Original message -------- > > From: Remko Popma > > Date: 04/05/2015 00:42 (GMT-08:00) > > To: Log4J Developers List > > Subject: log4j-jul tests fail > > > > I am seeing this test for log4j-jul fail: > > > > java.lang.UnsupportedOperationException: Cannot set level through > log4j-api > > at > org.apache.logging.log4j.jul.ApiLogger.setLevel(ApiLogger.java:82) > > at > org.apache.logging.log4j.jul.CoreLoggerTest.testSetLevel(CoreLoggerTest.j= ava:67) > > > > Did we do any work on JUL recently? (I can't find it in JIRA or > changes.xml) > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org > For additional commands, e-mail: log4j-dev-help@logging.apache.org > > --=20 E-Mail: garydgregory@gmail.com | ggregory@apache.org Java Persistence with Hibernate, Second Edition JUnit in Action, Second Edition Spring Batch in Action Blog: http://garygregory.wordpress.com Home: http://garygregory.com/ Tweet! http://twitter.com/GaryGregory --047d7b86e4065e7bd005130090b2 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I wonder if this has to do with tests being forked vs. not= . When _not_ forked, then this would happen I am guessing. I am also guessi= ng that something has changed in JUnit or Surefire. Perhaps all this needs = is setting fork to true for tests that create the issue in the 1st place?
Gary

On Sun, Apr 5, 2015 at 10:18 AM, Ralph Goers <ra= lph.goers@dslextreme.com> wrote:
Oops. I just saw this thread. I am getting the same error and won=E2= =80=99t be able to perform a release until this is fixed. Anyone no what co= mmit broke it?

Ralph

> On Apr 5, 2015, at 8:27 AM, Gary Gregory <garydgregory@gmail.com> wrote:
>
> I think it has something to do with the fact that you cannot uninstall= our JUL layer or other layer so the wrong code is installed at some point = in the whole test suite. I am guessing it runs fine on its own.
>
> Gary
>
>
> -------- Original message --------
> From: Remko Popma <remko.p= opma@gmail.com>
> Date: 04/05/2015 00:42 (GMT-08:00)
> To: Log4J Developers List <log4j-dev@logging.apache.org>
> Subject: log4j-jul tests fail
>
> I am seeing this test for log4j-jul fail:
>
> java.lang.UnsupportedOperationException: Cannot set level through log4= j-api
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0at org.apache.logging.log4j.jul.ApiLo= gger.setLevel(ApiLogger.java:82)
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0at org.apache.logging.log4j.jul.CoreL= oggerTest.testSetLevel(CoreLoggerTest.java:67)
>
> Did we do any work on JUL recently? (I can't find it in JIRA or ch= anges.xml)


---------------------------------------------------------------= ------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org




--
--047d7b86e4065e7bd005130090b2--