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 5F568200C10 for ; Fri, 20 Jan 2017 07:14:44 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 5DEFB160B57; Fri, 20 Jan 2017 06:14:44 +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 A3E0E160B54 for ; Fri, 20 Jan 2017 07:14:43 +0100 (CET) Received: (qmail 24295 invoked by uid 500); 20 Jan 2017 06:14:42 -0000 Mailing-List: contact issues-help@jmeter.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@jmeter.apache.org Delivered-To: mailing list issues@jmeter.apache.org Received: (qmail 24284 invoked by uid 99); 20 Jan 2017 06:14:42 -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; Fri, 20 Jan 2017 06:14:42 +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 3AB7F1A00E2 for ; Fri, 20 Jan 2017 06:14:42 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -1.999 X-Spam-Level: X-Spam-Status: No, score=-1.999 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, RP_MATCHES_RCVD=-2.999] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id FkApcD891Ja1 for ; Fri, 20 Jan 2017 06:14:41 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id BFCD15F47E for ; Fri, 20 Jan 2017 06:14:40 +0000 (UTC) Received: from asf-bz1-us-mid.priv.apache.org (nat1-us-mid.apache.org [23.253.172.122]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTPS id B232AE0054 for ; Fri, 20 Jan 2017 06:14:29 +0000 (UTC) Received: by asf-bz1-us-mid.priv.apache.org (ASF Mail Server at asf-bz1-us-mid.priv.apache.org, from userid 33) id D4CB160CA4; Fri, 20 Jan 2017 06:14:28 +0000 (UTC) From: bugzilla@apache.org To: issues@jmeter.apache.org Subject: [Bug 60589] Migrating LogKit to SLF4J - Drop avalon, logkit and excalibur with backward compatibility for 3rd party modules. Date: Fri, 20 Jan 2017 06:14:28 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: JMeter X-Bugzilla-Component: Main X-Bugzilla-Version: 3.1 X-Bugzilla-Keywords: PatchAvailable X-Bugzilla-Severity: enhancement X-Bugzilla-Who: woonsan@apache.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: issues@jmeter.apache.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bz.apache.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 archived-at: Fri, 20 Jan 2017 06:14:44 -0000 https://bz.apache.org/bugzilla/show_bug.cgi?id=3D60589 --- Comment #4 from Woonsan Ko --- I've created an initial pull request. This is not ready for merging, but on= ly for initial review on the direction: - https://github.com/apache/jmeter/pull/254 This PR contains only the following at the moment: - Removing dependencies on logkit, excalibur and avalon. - Forking some logkit classes in jorphan. - NewDriver.java setting log4j2 configuration file location system property. - Add jcl-over-slf4j, log4j-1.2-api, jcl-over-slf4j and log4j2 jars. - Update LoggingManager to return slf4j logger wrapper. It doesn't include a custom appender for the UI and unit test fixes yet. Al= so requires cleanups. But it seems working at runtime with log4j2 now in this steps: $ git clone -b feature/bz60589-1 https://github.com/woonsan/jmeter.git $ cd jmeter $ ant download_jars $ ant $ cd bin $ ./jmeter Now, I see jmeter.log being added by log4j2 via logkit fork Logger (wrapping slf4j logger) / LoggingManager. Please review the PR and share your thoughts on the direction. P.S. The original logkit Logger is a class (not an interface) with final methods. So, I decided to remove the final modifier and add abstract modifi= er for overridable methods (for wrapper impl). And I kept unsupportable method= s as NOP impl. --=20 You are receiving this mail because: You are the assignee for the bug.=