Return-Path: X-Original-To: apmail-geronimo-dev-archive@www.apache.org Delivered-To: apmail-geronimo-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 38F1A7852 for ; Thu, 6 Oct 2011 20:35:55 +0000 (UTC) Received: (qmail 46081 invoked by uid 500); 6 Oct 2011 20:35:54 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 46015 invoked by uid 500); 6 Oct 2011 20:35:54 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 46008 invoked by uid 99); 6 Oct 2011 20:35:54 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Oct 2011 20:35:54 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Oct 2011 20:35:52 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 25A992ACB60 for ; Thu, 6 Oct 2011 20:35:31 +0000 (UTC) Date: Thu, 6 Oct 2011 20:35:31 +0000 (UTC) From: "Jarek Gawor (Resolved) (JIRA)" To: dev@geronimo.apache.org Message-ID: <2090745608.5081.1317933331155.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Resolved] (GERONIMO-5396) java.util.logging resources doesn't get picked up MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/GERONIMO-5396?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jarek Gawor resolved GERONIMO-5396. ----------------------------------- Resolution: Fixed Fix Version/s: 3.0 The work-around was removed now as part of GERONIMO-6184. > java.util.logging resources doesn't get picked up > ------------------------------------------------- > > Key: GERONIMO-5396 > URL: https://issues.apache.org/jira/browse/GERONIMO-5396 > Project: Geronimo > Issue Type: Bug > Security Level: public(Regular issues) > Components: Logging > Affects Versions: 3.0-M1 > Reporter: Mark Struberg > Assignee: Jarek Gawor > Fix For: 3.0 > > > In OpenWebBeans we use the i18n resource capabilities of java.util.logging.Logger > In the code: > {noformat} > Logger logger = Logger#getLogger(String name, String resourceBundleName); > logger.info("INFO_0004", param), > {noformat} > In the Message resources: > {noformat} > INFO_0004=Adding OpenWebBeansPlugin \: [{0}] > {noformat} > Where {0} gets filled with the value of 'param'. > In geronimo I only see: "[BeansDeployer] INFO_0004" > , so the jul to slf4j bridge doesn't handle the message bundle. > Also if I add the String myself and call > {noformat} > logger.info("message with param {0}", "rabbit"); > {noformat} > I still get no parameter filling, so the resulting text in the logfile is "message with param {0}" -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira