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 79CAB200BAF for ; Mon, 31 Oct 2016 19:02:21 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 786B2160B06; Mon, 31 Oct 2016 18:02:21 +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 C3BA0160AED for ; Mon, 31 Oct 2016 19:02:20 +0100 (CET) Received: (qmail 89874 invoked by uid 500); 31 Oct 2016 18:02:20 -0000 Mailing-List: contact dev-help@hc.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "HttpComponents Project" Delivered-To: mailing list dev@hc.apache.org Received: (qmail 89862 invoked by uid 99); 31 Oct 2016 18:02:19 -0000 Received: from mail-relay.apache.org (HELO mail-relay.apache.org) (140.211.11.15) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 Oct 2016 18:02:19 +0000 Received: from ok2c (77-56-53-7.dclient.hispeed.ch [77.56.53.7]) by mail-relay.apache.org (ASF Mail Server at mail-relay.apache.org) with ESMTPSA id 16C641A018B; Mon, 31 Oct 2016 18:02:18 +0000 (UTC) Message-ID: <1477936936.24268.9.camel@apache.org> Subject: Re: Collaborate implementing HTTP 2.0 support - HTTPCORE-432 From: Oleg Kalnichevski To: fcarriedos@gmail.com Cc: dev@hc.apache.org Date: Mon, 31 Oct 2016 19:02:16 +0100 In-Reply-To: References: <1474361787.3277.6.camel@apache.org> <1474399445.8467.29.camel@apache.org> <1474913458.25091.19.camel@apache.org> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.12.9-1+b1 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit archived-at: Mon, 31 Oct 2016 18:02:21 -0000 On Mon, 2016-10-31 at 05:46 +0100, Francisco Carriedo Scher wrote: > Hello, > > > Don't know if migrating to Log4J2 > (https://issues.apache.org/jira/browse/HTTPCORE-436) would override > the task I was working in (enabling debug logging on integration > tests). Anyway, as I don't know how long migrating might take and the > work was already done for httpcore5 module I have committed it to my > fork > (https://github.com/fcarriedos/httpcore/commit/46ba8b0c408cfb67d0ed6395c675b8bd2f6fa131). If you consider it correct and want me to extend it to the other modules, just say it. > Francisco This will certainly conflict with Gary's changes. I had no idea you were going to introduce Log4j as a dependency. What you have done looks perfectly fine to me but going forward we should be using Log4j2 given that it provides an abstract logging API with an option of using different logging back-ends. > > Question: I determined which packages to enable logging for with the > shell command below (output attached). To me this should find any > class needing to yield debug log lines. Could somebody comment on > this? (Correct, incorrect, suggestions?). Thanks! > $ httpcore/httpcore5$ reset && egrep -Ri "log" ./* | grep java | grep debug Looks correct to me. > DEADLOCK: when I completed this a month ago, enabling debug logging > resulted in a dead-lock in class "TestSyncHttp.java". This test class > is not present anymore and the deadlock does not appear now, but I > don't know if this could be another good reason to work on updating > the logging framework (HTTPCORE-436), as I dug a bit and looked like a > known issue for Log4J 1.2. I can reproduce the deadlock and provide > more detail if needed. > More reason to move to Log4j2. > Meanwhile I will have a look to testing the HTTP/2 transport with > popular web servers as you suggested. Please confirm if this is still > pending or somebody already is taking care of it. > I confirm. This is still by far more important than anything else. Oleg --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org For additional commands, e-mail: dev-help@hc.apache.org