Return-Path: Delivered-To: apmail-incubator-felix-dev-archive@www.apache.org Received: (qmail 83780 invoked from network); 8 Dec 2006 17:14:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 Dec 2006 17:14:45 -0000 Received: (qmail 70951 invoked by uid 500); 8 Dec 2006 17:14:53 -0000 Delivered-To: apmail-incubator-felix-dev-archive@incubator.apache.org Received: (qmail 70916 invoked by uid 500); 8 Dec 2006 17:14:53 -0000 Mailing-List: contact felix-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: felix-dev@incubator.apache.org Delivered-To: mailing list felix-dev@incubator.apache.org Received: (qmail 70905 invoked by uid 99); 8 Dec 2006 17:14:53 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Dec 2006 09:14:53 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Dec 2006 09:14:44 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 5A45A7142F9 for ; Fri, 8 Dec 2006 09:14:24 -0800 (PST) Message-ID: <15211910.1165598064367.JavaMail.jira@brutus> Date: Fri, 8 Dec 2006 09:14:24 -0800 (PST) From: "Richard S. Hall (JIRA)" To: felix-dev@incubator.apache.org Subject: [jira] Commented: (FELIX-77) Modify framework's internal logger to use Log Service if present In-Reply-To: <29862454.1149619349768.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ http://issues.apache.org/jira/browse/FELIX-77?page=comments#action_12456916 ] Richard S. Hall commented on FELIX-77: -------------------------------------- I guess I should have also added... I tested this and it appeared to work, but for those who are interested in this issue, please put these changes through their paces and report back to the mailing list if you run into any issues or open a new JIRA issue. Thanks. > Modify framework's internal logger to use Log Service if present > ---------------------------------------------------------------- > > Key: FELIX-77 > URL: http://issues.apache.org/jira/browse/FELIX-77 > Project: Felix > Issue Type: Improvement > Components: Framework > Reporter: Richard S. Hall > Assigned To: Richard S. Hall > Priority: Minor > > The framework implementation uses an internal Logger class for logging errors, warnings, etc. This Logger class mimics the Log service interface, but is currently hard-coded to output all information to the console. The idea behind this class is that it should direct log messages to a Log service if one is present. Its approach should get the bundle context from the system bundle and listen for Log services. Since we don't want to require the Log service package on the class path, the solution should use reflection to invoke methods on the Log service when it is present. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira