felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Richard S. Hall (JIRA)" <j...@apache.org>
Subject [jira] Commented: (FELIX-77) Modify framework's internal logger to use Log Service if present
Date Fri, 08 Dec 2006 17:14:24 GMT
    [ 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

        

Mime
View raw message