Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 31F17200B46 for ; Sat, 16 Jul 2016 20:30:16 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 3064B160A6C; Sat, 16 Jul 2016 18:30:16 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 073EB160A52 for ; Sat, 16 Jul 2016 20:30:14 +0200 (CEST) Received: (qmail 7794 invoked by uid 500); 16 Jul 2016 18:30:14 -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 7784 invoked by uid 99); 16 Jul 2016 18:30:14 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 16 Jul 2016 18:30:14 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 9C63B1A0539 for ; Sat, 16 Jul 2016 18:30:13 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.698 X-Spam-Level: *** X-Spam-Status: No, score=3.698 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_REPLY=1, HTML_MESSAGE=2, KAM_MXURI=1.5, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx2-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id Qc4FYS3ONFSW for ; Sat, 16 Jul 2016 18:30:11 +0000 (UTC) Received: from mail-io0-f169.google.com (mail-io0-f169.google.com [209.85.223.169]) by mx2-lw-us.apache.org (ASF Mail Server at mx2-lw-us.apache.org) with ESMTPS id C25625F642 for ; Sat, 16 Jul 2016 18:30:10 +0000 (UTC) Received: by mail-io0-f169.google.com with SMTP id q83so130513275iod.1 for ; Sat, 16 Jul 2016 11:30:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=tOlJiI3ydUKaxg+er0zMpOvOHuK5wn8Cs0swPDL5CAk=; b=nqoKQXzHZvOcSLdXhzaom61ScYNFcJh4ZWE2CGKBkpC8C83KMpkZJUL0OWPiPeNdUB ML38Sg7RZ0ehPGR3EFkICTxd0qyZQht4F43PAIEBO0Oc2nraTFP++FJ3hmjcksscEjyc bkxxVq6E7wdzhftwoCf19FvArZKYy6H+TrztpaIyLbZzZMQSNQiPdHCoFYy2t9J0gyRN 4/oc6lxSeCf10UN3BBzZ81Lfh/CTt1C3IpAXyCdoE72QlBXn8dpRhdmvc5QVGVMvh+rq TdXf69XXNa7BSA8zcQADWF/LGEglTryB5E+X3SN54h7bS2iJay3nyG0aPpH0LPCn8ZWC WVkQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=tOlJiI3ydUKaxg+er0zMpOvOHuK5wn8Cs0swPDL5CAk=; b=eJ7ldd/FVdK1PjxhsOC31Erxe0tPCKxku8EBiFZwEq2XLMuEcu9Gp238mJGSWFG6E8 870CDrLI6rlq1umCODyRcqxIwJlaqTOnwmFRecY3RvhhDiAtSzDnS5wVYtmkTPgNenB3 37KBnUull+pKfmYDNplfUrAWp3YSDBPo4e4TMsyCsV6xkhgW4djacXrzM/nKB6D49q8s 71NQJcXieq1mMDhqDqkSp3atvwyO1Zl/QJeG51kqjC6EkXsaC7YYNprPt6IJhbtgUQp/ FJlfUxMfgjj+IOdFWIqLb7Mxp/xscHqKiTpZIfW/u7JVnTl3xw+QVtl/QtjFGx1SCHAp 0KSQ== X-Gm-Message-State: ALyK8tJsP3b9kmIYpY8uaz/R0DsVic/c9F2H63RvPOGWFveWqtHRlV61DAlOYYaWPxEVU8bJl49ogheLuBdrAw== X-Received: by 10.107.133.93 with SMTP id h90mr26691126iod.16.1468693804340; Sat, 16 Jul 2016 11:30:04 -0700 (PDT) MIME-Version: 1.0 Received: by 10.79.35.138 with HTTP; Sat, 16 Jul 2016 11:30:03 -0700 (PDT) In-Reply-To: References: <43143D27-B883-4D59-8066-E3868BBBABCC@dslextreme.com> <63A648A8-C73E-47B1-9FD9-99B40FDDEAC0@dslextreme.com> From: Matt Sicker Date: Sat, 16 Jul 2016 13:30:03 -0500 Message-ID: Subject: Re: Log4J 1.x and JDK 9 To: Log4J Developers List Content-Type: multipart/alternative; boundary=001a113f0c147ddd270537c4ec13 archived-at: Sat, 16 Jul 2016 18:30:16 -0000 --001a113f0c147ddd270537c4ec13 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable That sounds like a great idea. On 16 July 2016 at 11:16, Gary Gregory wrote: > On Jul 16, 2016 12:17 AM, "Remko Popma" wrote: > > > > Shall we start contacting Apache project that still use Log4j 1 with > this new information and offer them our assistance in migrating to Log4j = 2 > in order to get ready for Java 9? > > I like it! > > Gary > > > > > Remko > > > > Sent from my iPhone > > > > On 2016/07/15, at 2:36, Gary Gregory wrote: > > > >> On Thu, Jul 14, 2016 at 10:18 AM, Matt Sicker wrote= : > >>> > >>> Where was the GitHub fork when it was EOL'd? Or when development > effectively stopped 4 years ago? > >> > >> > >> Maybe the hack provided in this thread will be enough for most folks. > >> > >> Gary > >> > >>> > >>> > >>> On 14 July 2016 at 12:12, Gary Gregory wrote= : > >>>> > >>>> And get ready for a GitHub fork... > >>>> > >>>> Gary > >>>> > >>>> On Thu, Jul 14, 2016 at 10:03 AM, Remko Popma > wrote: > >>>>> > >>>>> I agree. We announced that Log4j 1.2 is end of life. We have a > replacement that is better than Log4j 1.2 in pretty much every way. > >>>>> > >>>>> In my opinion we should > >>>>> a) make sure Log4j 2 is ready for Java 9 > >>>>> b) start announcing that Log4j 1.2 will not work with Java 9 so > people can start planning their migration > >>>>> > >>>>> On Fri, Jul 15, 2016 at 2:00 AM, Ralph Goers < > ralph.goers@dslextreme.com> wrote: > >>>>>> > >>>>>> That was exactly what my =E2=80=9Cmixed emotions=E2=80=9D were abo= ut. > >>>>>> > >>>>>> Also, I think we are going to have a fair amount of work to really > support Java 9. > >>>>>> > >>>>>> Ralph > >>>>>> > >>>>>>> On Jul 14, 2016, at 9:44 AM, Gary Gregory > wrote: > >>>>>>> > >>>>>>> Any Log4j 1 release is likely to open the floodgates of requests > to fix any outstanding "simple" (or complex) bugs. > >>>>>>> > >>>>>>> Keep in mind that Java 9 is not official yet, so we could be > opening ourselves to a series of Java 9 EA compatible releases as Java 9 > with and without Jigsaw (these are still separate builds IIRC) gets > developed. > >>>>>>> > >>>>>>> Tracking Java 9 EAs with Log4j 2 is likely to be enough work as i= t > is... if we do want to do that now... > >>>>>>> > >>>>>>> Gary > >>>>>>> > >>>>>>> On Thu, Jul 14, 2016 at 9:06 AM, Remko Popma < > remko.popma@gmail.com> wrote: > >>>>>>>> > >>>>>>>> Strategically I don't see why doing another 1.2 release would be > a good idea. > >>>>>>>> If people can upgrade to Java 9 with all the regression testing > that implies, then I see no reason they would not also upgrade to Log4j 2= ... > >>>>>>>> Naturally Log4j 2 needs to be in good shape for Java 9 and we > would support users who did customizations to Log4j 1.2. > >>>>>>>> > >>>>>>>> On Fri, Jul 15, 2016 at 1:02 AM, Ralph Goers < > ralph.goers@dslextreme.com> wrote: > >>>>>>>>> > >>>>>>>>> That would rule out building on a Mac. I=E2=80=99d have to try= it from > a Linux VM. I think Gary might have built Log4j 1 in the past. > >>>>>>>>> > >>>>>>>>> Ralph > >>>>>>>>> > >>>>>>>>>> On Jul 14, 2016, at 8:52 AM, Paul Benedict < > pbenedict@apache.org> wrote: > >>>>>>>>>> > >>>>>>>>>> Matt, I guess you need JDK 1.4.2 on your machine to have > artifact "sun.jdk:tools:jar:1.4.2". > >>>>>>>>>> > >>>>>>>>>> Cheers, > >>>>>>>>>> Paul > >>>>>>>>>> > >>>>>>>>>> On Thu, Jul 14, 2016 at 10:50 AM, Matt Sicker > wrote: > >>>>>>>>>>> > >>>>>>>>>>> How do you even build log4j 1.2? I get this error when I buil= d > from trunk: > >>>>>>>>>>> > >>>>>>>>>>> [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-antrun-plugin:1.2:run (javadoc.resources) = on > project log4j: Execution javadoc.resources of goal > org.apache.maven.plugins:maven-antrun-plugin:1.2:run failed: Plugin > org.apache.maven.plugins:maven-antrun-plugin:1.2 or one of its dependenci= es > could not be resolved: Could not find artifact sun.jdk:tools:jar:1.4.2 at > specified path > /Library/Java/JavaVirtualMachines/jdk1.8.0_66.jdk/Contents/Home/jre/../Cl= asses/classes.jar > -> [Help 1] > >>>>>>>>>>> > >>>>>>>>>>> On 14 July 2016 at 10:47, Remko Popma > wrote: > >>>>>>>>>>>> > >>>>>>>>>>>> Why would we want to do that? We need to make sure that Log4= j > 2 works well with Java 9, but otherwise I think this is an excellent > opportunity for users to upgrade to Log4j 2. > >>>>>>>>>>>> > >>>>>>>>>>>> Remko > >>>>>>>>>>>> > >>>>>>>>>>>> > >>>>>>>>>>>> On Thu, Jul 14, 2016 at 11:56 PM, Paul Benedict < > pbenedict@apache.org> wrote: > >>>>>>>>>>>>> > >>>>>>>>>>>>> According to this poster, it appears 1.x is not compatible > with JDK 9: > >>>>>>>>>>>>> > http://mail.openjdk.java.net/pipermail/jigsaw-dev/2016-July/008654.html > >>>>>>>>>>>>> > >>>>>>>>>>>>> I told them I would notify our development community. So > here's the notification. :-) > >>>>>>>>>>>>> > >>>>>>>>>>>>> Given how widely used 1.x is still, what do you guys think > of one more 1.x release? Usually I would never entertain the suggestion, > but this may be the one time the justification makes sense. For those who > still use 1.x and have no time to upgrade to 2.x, I can't think of a bett= er > way to support the user community than fix this issue. > >>>>>>>>>>>>> > >>>>>>>>>>>>> PS: Inside the post is a link to the supposed patch. > >>>>>>>>>>>>> > >>>>>>>>>>>>> WDYT? > >>>>>>>>>>>>> > >>>>>>>>>>>>> Cheers, > >>>>>>>>>>>>> Paul > >>>>>>>>>>>> > >>>>>>>>>>>> > >>>>>>>>>>> > >>>>>>>>>>> > >>>>>>>>>>> > >>>>>>>>>>> -- > >>>>>>>>>>> Matt Sicker > >>>>>>>>>> > >>>>>>>>>> > >>>>>>>>> > >>>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> -- > >>>>>>> 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 > >>>>>> > >>>>>> > >>>>> > >>>> > >>>> > >>>> > >>>> -- > >>>> 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 > >>> > >>> > >>> > >>> > >>> -- > >>> Matt Sicker > >> > >> > >> > >> > >> -- > >> 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 > > --=20 Matt Sicker --001a113f0c147ddd270537c4ec13 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
That sounds like a great idea.

On 16 July 2016 at 11:16, Gary Gregory = <garydgregory@gmail.com> wrote:

On Jul 16, 2016 12:17 AM, "Remko Popma" <remko.popma@gmail.com<= /a>> wrote:
>
> Shall we start contacting Apache project that still use Log4j 1 with t= his new information and offer them our assistance in migrating to Log4j 2 i= n order to get ready for Java 9?

I like it!

Gary


>
> Remko=C2=A0
>
> Sent from my iPhone
>
> On 2016/07/15, at 2:36, Gary Gregory <
garydgregory@gmail.com> wrote:
>
>> On Thu, Jul 14, 2016 at 10:18 AM, Matt Sicker <boards@gmail.com> wrote:
>>>
>>> Where was the GitHub fork when it was EOL'd? Or when devel= opment effectively stopped 4 years ago?
>>
>>
>> Maybe the hack provided in this thread will be enough for most fol= ks.
>>
>> Gary
>> =C2=A0
>>>
>>>
>>> On 14 July 2016 at 12:12, Gary Gregory <garydgregory@gmail.com> wro= te:
>>>>
>>>> And get ready for a GitHub fork...
>>>>
>>>> Gary
>>>>
>>>> On Thu, Jul 14, 2016 at 10:03 AM, Remko Popma <remko.popma@gmail.com> wrote:
>>>>>
>>>>> I agree. We announced that Log4j 1.2 is end of life. W= e have a replacement that is better than Log4j 1.2 in pretty much every way= .
>>>>>
>>>>> In my opinion we should=C2=A0
>>>>> a) make sure Log4j 2 is ready for Java 9
>>>>> b) start announcing that Log4j 1.2 will not work with = Java 9 so people can start planning their migration=C2=A0
>>>>>
>>>>> On Fri, Jul 15, 2016 at 2:00 AM, Ralph Goers <
ralph.goers@dsle= xtreme.com> wrote:
>>>>>>
>>>>>> That was exactly what my =E2=80=9Cmixed emotions= =E2=80=9D were about.
>>>>>>
>>>>>> Also, I think we are going to have a fair amount o= f work to really support Java 9.
>>>>>>
>>>>>> Ralph
>>>>>>
>>>>>>> On Jul 14, 2016, at 9:44 AM, Gary Gregory <= garydgregory@gm= ail.com> wrote:
>>>>>>>
>>>>>>> Any Log4j 1 release is likely to open the floo= dgates of requests to fix any outstanding "simple" (or complex) b= ugs.
>>>>>>>
>>>>>>> Keep in mind that Java 9 is not official yet, = so we could be opening ourselves to a series of Java 9 EA compatible releas= es as Java 9 with and without Jigsaw (these are still separate builds IIRC)= gets developed.
>>>>>>>
>>>>>>> Tracking Java 9 EAs with Log4j 2 is likely to = be enough work as it is... if we do want to do that now...
>>>>>>>
>>>>>>> Gary
>>>>>>>
>>>>>>> On Thu, Jul 14, 2016 at 9:06 AM, Remko Popma &= lt;remko.popma@g= mail.com> wrote:
>>>>>>>>
>>>>>>>> Strategically I don't see why doing an= other 1.2 release would be a good idea.
>>>>>>>> If people can upgrade to Java 9 with all t= he regression testing that implies, then I see no reason they would not als= o upgrade to Log4j 2...
>>>>>>>> Naturally Log4j 2 needs to be in good shap= e for Java 9 and we would support users who did customizations to Log4j 1.2= .
>>>>>>>>
>>>>>>>> On Fri, Jul 15, 2016 at 1:02 AM, Ralph Goe= rs <ralp= h.goers@dslextreme.com> wrote:
>>>>>>>>>
>>>>>>>>> That would rule out building on a Mac.= =C2=A0 I=E2=80=99d have to try it from a Linux VM.=C2=A0 I think Gary might= have built Log4j 1 in the past.
>>>>>>>>>
>>>>>>>>> Ralph
>>>>>>>>>
>>>>>>>>>> On Jul 14, 2016, at 8:52 AM, Paul = Benedict <pben= edict@apache.org> wrote:
>>>>>>>>>>
>>>>>>>>>> Matt, I guess you need JDK 1.4.2 o= n your machine to have artifact "sun.jdk:tools:jar:1.4.2".
>>>>>>>>>>
>>>>>>>>>> Cheers,
>>>>>>>>>> Paul
>>>>>>>>>>
>>>>>>>>>> On Thu, Jul 14, 2016 at 10:50 AM, = Matt Sicker <board= s@gmail.com> wrote:
>>>>>>>>>>>
>>>>>>>>>>> How do you even build log4j 1.= 2? I get this error when I build from trunk:
>>>>>>>>>>>
>>>>>>>>>>> [ERROR] Failed to execute goal= org.apache.maven.plugins:maven-antrun-plugin:1.2:run (javadoc.resources) o= n project log4j: Execution javadoc.resources of goal org.apache.maven.plugi= ns:maven-antrun-plugin:1.2:run failed: Plugin org.apache.maven.plugins:mave= n-antrun-plugin:1.2 or one of its dependencies could not be resolved: Could= not find artifact sun.jdk:tools:jar:1.4.2 at specified path /Library/Java/= JavaVirtualMachines/jdk1.8.0_66.jdk/Contents/Home/jre/../Classes/classes.ja= r -> [Help 1]
>>>>>>>>>>>
>>>>>>>>>>> On 14 July 2016 at 10:47, Remk= o Popma <remk= o.popma@gmail.com> wrote:
>>>>>>>>>>>>
>>>>>>>>>>>> Why would we want to do th= at? We need to make sure that Log4j 2 works well with Java 9, but otherwise= I think this is an excellent opportunity for users to upgrade to Log4j 2.<= br> >>>>>>>>>>>>
>>>>>>>>>>>> Remko
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> On Thu, Jul 14, 2016 at 11= :56 PM, Paul Benedict <pbenedict@apache.org> wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>> According to this post= er, it appears 1.x is not compatible with JDK 9:
>>>>>>>>>>>>> http://mail.openjdk.java.net/pipermail/jigsaw-dev/2016-July/008654.htm= l
>>>>>>>>>>>>>
>>>>>>>>>>>>> I told them I would no= tify our development community. So here's the notification. :-)
>>>>>>>>>>>>>
>>>>>>>>>>>>> Given how widely used = 1.x is still, what do you guys think of one more 1.x release? Usually I wou= ld never entertain the suggestion, but this may be the one time the justifi= cation makes sense. For those who still use 1.x and have no time to upgrade= to 2.x, I can't think of a better way to support the user community th= an fix this issue.
>>>>>>>>>>>>>
>>>>>>>>>>>>> PS: Inside the post is= a link to the supposed patch.
>>>>>>>>>>>>>
>>>>>>>>>>>>> WDYT?
>>>>>>>>>>>>>
>>>>>>>>>>>>> Cheers,
>>>>>>>>>>>>> Paul
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> --
>>>>>>>>>>> Matt Sicker <boards@gmail.com>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> E-Mail: garydgregory@gmail.com | ggregory@apache.org
>>>>>>> Java Persistence with Hibernate, Second Editio= n
>>>>>>> JUnit in Action, Second Edition
>>>>>>> Spring Batch in Action
>>>>>>> Blog: http://garygregory.wordpress.com
>>>>>>> Home: http://garygregory.com/
>>>>>>> Tweet! http://twitter.com/GaryGregory
>>>>>>
>>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> 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
>>>
>>>
>>>
>>>
>>> --
>>> Matt Sicker <boards@gmail.com>
>>
>>
>>
>>
>> --
>> 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




--
Matt Sicker <boards@gmail.com>=
--001a113f0c147ddd270537c4ec13--