Return-Path: X-Original-To: apmail-tomcat-dev-archive@www.apache.org Delivered-To: apmail-tomcat-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2A7D3101EA for ; Thu, 26 Sep 2013 13:58:27 +0000 (UTC) Received: (qmail 4159 invoked by uid 500); 26 Sep 2013 13:58:12 -0000 Delivered-To: apmail-tomcat-dev-archive@tomcat.apache.org Received: (qmail 4085 invoked by uid 500); 26 Sep 2013 13:58:10 -0000 Mailing-List: contact dev-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Developers List" Delivered-To: mailing list dev@tomcat.apache.org Received: (qmail 4009 invoked by uid 99); 26 Sep 2013 13:58:04 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Sep 2013 13:58:04 +0000 Date: Thu, 26 Sep 2013 13:58:03 +0000 (UTC) From: "Xavier Dury (JIRA)" To: dev@tomcat.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Comment Edited] (MTOMCAT-127) tomcat:run - Configuring Logging with JULI MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/MTOMCAT-127?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D137= 78796#comment-13778796 ]=20 Xavier Dury edited comment on MTOMCAT-127 at 9/26/13 1:56 PM: -------------------------------------------------------------- Same problem here: I'm trying to use a custom logging.properties through in order to use SLF4J jul-to-slf4j bridge but it doesn'= t work (logs are not forwarded to SLF4J). =20 was (Author: kalgon): Same problem here: I'm trying to use a custom logging.properties throug= h in order to use SLF4J jul-to-slf4j bridge but it do= esn't work (logs are still forwarded to SLF4J). =20 > tomcat:run - Configuring Logging with JULI=20 > ------------------------------------------- > > Key: MTOMCAT-127 > URL: https://issues.apache.org/jira/browse/MTOMCAT-127 > Project: Apache Tomcat Maven Plugin > Issue Type: New Feature > Components: tomcat6, tomcat7 > Affects Versions: 2.0 > Reporter: C=C3=A9dric Couralet > Assignee: Olivier Lamy (*$^=C2=A8%`=C2=A3) > Priority: Minor > Fix For: backlog > > > The configuration for a custom logging.properties is not taken into accou= nt with the tomcat6-7:run goal. > From what I've seen, the reason is that the configuration for java.util.l= ogging is done before setting the system properties in the same class loade= r. > I think it could be fixed by putting a call to LogManager.getLogManager()= .readConfiguration(); right after setting the system properties. I'm not co= nfident enough on the possible side effects to say it is the best solution.= =20 -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrato= rs For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org For additional commands, e-mail: dev-help@tomcat.apache.org