Return-Path: X-Original-To: apmail-portals-jetspeed-dev-archive@www.apache.org Delivered-To: apmail-portals-jetspeed-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 EABA765BF for ; Sat, 23 Jul 2011 07:23:50 +0000 (UTC) Received: (qmail 34719 invoked by uid 500); 23 Jul 2011 07:23:48 -0000 Delivered-To: apmail-portals-jetspeed-dev-archive@portals.apache.org Received: (qmail 34684 invoked by uid 500); 23 Jul 2011 07:23:39 -0000 Mailing-List: contact jetspeed-dev-help@portals.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Jetspeed Developers List" Delivered-To: mailing list jetspeed-dev@portals.apache.org Received: (qmail 34657 invoked by uid 99); 23 Jul 2011 07:23:36 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 23 Jul 2011 07:23:36 +0000 X-ASF-Spam-Status: No, hits=-2001.1 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; Sat, 23 Jul 2011 07:23:31 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 90BB758962 for ; Sat, 23 Jul 2011 07:23:09 +0000 (UTC) Date: Sat, 23 Jul 2011 07:23:09 +0000 (UTC) From: "Woonsan Ko (JIRA)" To: jetspeed-dev@portals.apache.org Message-ID: <589143017.821.1311405789589.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1315882377.12059.1310605140817.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Resolved] (JS2-1254) Logging locations are hidden with JetspeedLoggerUtil or DefaultJetspeedLogger 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/JS2-1254?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Woonsan Ko resolved JS2-1254. ----------------------------- Resolution: Fixed Fixed. Jetspeed common logger is compatible with both slf4j-1.5.x and slf4j-1.6.x. > Logging locations are hidden with JetspeedLoggerUtil or DefaultJetspeedLogger > ----------------------------------------------------------------------------- > > Key: JS2-1254 > URL: https://issues.apache.org/jira/browse/JS2-1254 > Project: Jetspeed 2 > Issue Type: Improvement > Components: Container > Affects Versions: 2.2.1 > Reporter: Woonsan Ko > Assignee: Woonsan Ko > Fix For: 2.2.2 > > > Jetspeed provides a neutral logger factory and interface for commons components such as JetspeedContainerServlet. > Those common components cannot access slf4j library directly, so we have provided a wrapper implementation as a component. > However, with those wrapper logger implementations, the logging locations such as class name and operation name are not recorded properly. Instead of the real logging locations, it prints the wrapper's operation locations. > This can be fixed by using the Slf4j SPI interface, LocatonAwareLogger [1], in the wrapper classes, > or by extending slf4j-ext's LoggerWrapper class [2]. > [1] http://www.slf4j.org/api/org/slf4j/spi/LocationAwareLogger.html > [2] http://www.slf4j.org/api/org/slf4j/ext/LoggerWrapper.html -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org For additional commands, e-mail: jetspeed-dev-help@portals.apache.org