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 6F492200AE8 for ; Tue, 3 May 2016 12:40:14 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 6E2F71609F4; Tue, 3 May 2016 12:40:14 +0200 (CEST) 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 B82561609F3 for ; Tue, 3 May 2016 12:40:13 +0200 (CEST) Received: (qmail 71510 invoked by uid 500); 3 May 2016 10:40:12 -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 71501 invoked by uid 99); 3 May 2016 10:40:12 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 May 2016 10:40:12 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id C98662C0451 for ; Tue, 3 May 2016 10:40:12 +0000 (UTC) Date: Tue, 3 May 2016 10:40:12 +0000 (UTC) From: "member sound (JIRA)" To: log4j-dev@logging.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (LOG4J2-1378) WebLookup fails with log4j-web dependency MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 03 May 2016 10:40:14 -0000 [ https://issues.apache.org/jira/browse/LOG4J2-1378?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] member sound updated LOG4J2-1378: --------------------------------- Description: I'm using the log4j-web dependency for proper (de)-registration of the log4j2 logger in a tomcat environment: {code} org.apache.logging.log4j log4j-web {code} Problem: then I cannot use WebLookup anymore as follows: {code} {code} Only if I exclude the log4j-web dependency, the weblookup works fine. But I have to use the dependency for proper tomcat logging. Probably the lookup is initialized too late. Bug report as requested in: http://stackoverflow.com/questions/36998917/how-to-use-weblookup-with-log4j-web was: I'm using the log4j-web dependency for proper (de)-registration of the log4j2 logger in a tomcat environment: {code} org.apache.logging.log4j log4j-web {code} Problem: then I cannot use WebLookup anymore as follows: {code} {code} When I exclude the log4j-web dependency, the weblookup works fine. But I have to use the dependency for proper tomcat logging. Probably the lookup is initialized too late. Bug report as requested in: http://stackoverflow.com/questions/36998917/how-to-use-weblookup-with-log4j-web > WebLookup fails with log4j-web dependency > ----------------------------------------- > > Key: LOG4J2-1378 > URL: https://issues.apache.org/jira/browse/LOG4J2-1378 > Project: Log4j 2 > Issue Type: Bug > Environment: Java 1.8 > Reporter: member sound > > I'm using the log4j-web dependency for proper (de)-registration of the log4j2 logger in a tomcat environment: > {code} > > org.apache.logging.log4j > log4j-web > > {code} > Problem: then I cannot use WebLookup anymore as follows: > {code} > > {code} > Only if I exclude the log4j-web dependency, the weblookup works fine. But I have to use the dependency for proper tomcat logging. > Probably the lookup is initialized too late. > Bug report as requested in: http://stackoverflow.com/questions/36998917/how-to-use-weblookup-with-log4j-web -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org For additional commands, e-mail: log4j-dev-help@logging.apache.org