Return-Path: Delivered-To: apmail-portals-jetspeed-dev-archive@www.apache.org Received: (qmail 86502 invoked from network); 5 Feb 2010 16:21:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 5 Feb 2010 16:21:51 -0000 Received: (qmail 88710 invoked by uid 500); 5 Feb 2010 16:21:51 -0000 Delivered-To: apmail-portals-jetspeed-dev-archive@portals.apache.org Received: (qmail 88677 invoked by uid 500); 5 Feb 2010 16:21:51 -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 88667 invoked by uid 99); 5 Feb 2010 16:21:51 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Feb 2010 16:21:51 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Feb 2010 16:21:49 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id F423429A002F for ; Fri, 5 Feb 2010 08:21:27 -0800 (PST) Message-ID: <1057542169.70561265386887999.JavaMail.jira@brutus.apache.org> Date: Fri, 5 Feb 2010 16:21:27 +0000 (UTC) From: "Woonsan Ko (JIRA)" To: jetspeed-dev@portals.apache.org Subject: [jira] Resolved: (JS2-1099) Portlet application's error logs should be found in its own log file, not in jetspeed's log file. In-Reply-To: <978472168.70401265386408386.JavaMail.jira@brutus.apache.org> 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-1099?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Woonsan Ko resolved JS2-1099. ----------------------------- Resolution: Fixed > Portlet application's error logs should be found in its own log file, not in jetspeed's log file. > ------------------------------------------------------------------------------------------------- > > Key: JS2-1099 > URL: https://issues.apache.org/jira/browse/JS2-1099 > Project: Jetspeed 2 > Issue Type: Improvement > Reporter: Woonsan Ko > Assignee: Woonsan Ko > Fix For: 2.2.1 > > > Currently, if a portlet throws exception, then the exception is logged in the jetspeed log file instead of its own log file. > This is because JetspeedContainerServlet cannot access the application's slf4j logger when available due to classloader boundary. > This problem can be solved if a JetspeedLogger implements delegating to PA's logger if available by reflection. > Also, it would not be a overhead to retrieve PA's logger because it can done only once when the servlet meets an exception. > By the way, the other logs related to initialization/destroying of PA should be logged in jetspeed log file as it has been done. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org For additional commands, e-mail: jetspeed-dev-help@portals.apache.org