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 A4033200B64 for ; Tue, 2 Aug 2016 14:53:13 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id A275D160A8C; Tue, 2 Aug 2016 12:53:13 +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 EB1CD160A76 for ; Tue, 2 Aug 2016 14:53:12 +0200 (CEST) Received: (qmail 57895 invoked by uid 500); 2 Aug 2016 12:53:12 -0000 Mailing-List: contact dev-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list dev@camel.apache.org Received: (qmail 57883 invoked by uid 99); 2 Aug 2016 12:53:11 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Aug 2016 12:53:11 +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 3E2B3189CAF for ; Tue, 2 Aug 2016 12:53:11 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.821 X-Spam-Level: X-Spam-Status: No, score=-0.821 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-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-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id vVN2AkuMqkse for ; Tue, 2 Aug 2016 12:53:07 +0000 (UTC) Received: from mail-qk0-f182.google.com (mail-qk0-f182.google.com [209.85.220.182]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id A27A25FCF3 for ; Tue, 2 Aug 2016 12:53:07 +0000 (UTC) Received: by mail-qk0-f182.google.com with SMTP id p186so47462443qkd.1 for ; Tue, 02 Aug 2016 05:53:07 -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=oMoF8sOLbNnDwSqKwposINbsso0c6oT/b6O/PqKRFAs=; b=PERSaRsu4BnGA4UHE/mdRlVuz9nxTow3UufdsMQRgf1i70qbKMh8RPzNraGj/FnQzk 1LGGF6sE23RZ3z3noGrXFxyn6CoKTB/OjtPGj3pO9BKvMqtCpiApWaDrb6Jxax15keyT fYNcA957KeFYy24yjsNlCoiA5iE6JX5Ayke77mFTlklM59wpZGPv2Q1Qb+mXlVXemdNT xAMOPBdB22MXambg1ht24JCnHOOZamLyrJczqvlD8Ghn2l9pa4N6wOeOgWBs9oMARHPK adFlVYmx08U+DFIhXWwDlFWnWpr7Yg34MTYeegyVY7aEecwW7ZIzyGoNfCxtJ1hWQhS1 BJcQ== 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=oMoF8sOLbNnDwSqKwposINbsso0c6oT/b6O/PqKRFAs=; b=U84aFTSx1x/4HMyHCPVfr25LATZ/fcBKMODFjxCJB9hqXlkVvrOhqaAH1bC0BCewER FgZX+2OIxhgx8E+yD3FB1Egh3hTYaJXep+z+I3YcWhJcwwkH47otE4PSywkDyEUuEpQZ cIJCbl+10hFoGzV2L3ACLCmTf8jG8fiAM0SBZZpTyrftbmJe4TYnoIjidbwLSUnj2DIJ w7xPXQQr1PTmX+jYk25BhMoNuvINzorG20UVjHL/48KrgnVseMhCz8ZH8ymjQctW2oC1 PLzjXG9GlLtCuHUTp2f2roPqjWsiVxLI5qlcb4jfwKr/DU3SNoWsQUZqUtoijZR29Xx6 I7Jw== X-Gm-Message-State: AEkooutxCS6PnpIA67hz5XttRL816k0MWNDAYJoiUOApYrhunlzl8SWS49+vuMljjez1grlHoUDiXRi5AZrRxg== X-Received: by 10.55.114.69 with SMTP id n66mr73764593qkc.2.1470142387188; Tue, 02 Aug 2016 05:53:07 -0700 (PDT) MIME-Version: 1.0 Received: by 10.237.37.136 with HTTP; Tue, 2 Aug 2016 05:52:46 -0700 (PDT) In-Reply-To: References: From: Claus Ibsen Date: Tue, 2 Aug 2016 14:52:46 +0200 Message-ID: Subject: Re: Log4j 2 To: dev Content-Type: text/plain; charset=UTF-8 archived-at: Tue, 02 Aug 2016 12:53:13 -0000 Oh and if any migration is needed, then maybe logback is an alternative than log4j v2? http://logback.qos.ch On Tue, Aug 2, 2016 at 2:50 PM, Claus Ibsen wrote: > On Tue, Aug 2, 2016 at 2:42 PM, Luca Burgazzoli wrote: >> Hello, >> >> as log4j 1.2 is EOL since a year, would it make sense to move to log4j 2 ? >> > > We only use it for testing. No runtime dependency. > > > log4j v2 did not support log4j.properties file so any migration was a > real pain as the log4j xml file format is verbose and clunky to work > with. > > Only recently they added support for .properties file but I think they > may have changed the syntax slightly (not sure). > http://stackoverflow.com/questions/22485074/log4j-2-doesnt-support-log4j-properties-file-anymore > > > And I think I read somewhere that log4j v1 has problems with Java 9. > > If migration can be super easy on current 2.18 then it is okay. > Some kind of migration tool that can covert v1 properties to v2 > properties then that can be doable. > > But if not then I would like to postpone this to Camel 3. > > >> >> --- >> Luca Burgazzoli > > > > -- > Claus Ibsen > ----------------- > http://davsclaus.com @davsclaus > Camel in Action 2: https://www.manning.com/ibsen2 -- Claus Ibsen ----------------- http://davsclaus.com @davsclaus Camel in Action 2: https://www.manning.com/ibsen2