You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Richard S. Hall (JIRA)" <ji...@apache.org> on 2006/12/08 18:14:24 UTC

[jira] Commented: (FELIX-77) Modify framework's internal logger to use Log Service if present

    [ 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