[ 
https://issues.apache.org/jira/browse/FELIX-1052?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12701811#action_12701811
 ] 

Filippo Diotalevi commented on FELIX-1052:
------------------------------------------

Actually, I didn't want to create a separate bundle, but the 2 options you 
mentions have some problems:

1) integrated in Felix Log Service. The downside is that the "log" command 
won't appear with other log service implementations.

2) integrated in Felix Shell. That was my first choice, but that means you have 
to add the "org.osgi.service.log" import-package to Felix Shell and therefore 
requires the installation of the osgi compendium or of the Felix Log Service 
(which exports org.osgi.service.log).

So I followed the example of the dependencymanager bundle that has a separate 
dependencymanager.shell.

Of course it's easy and quick to port the code in another bundle, but I'm not 
sure what the best choice.

> [PATCH] Log shell command
> -------------------------
>
>                 Key: FELIX-1052
>                 URL: https://issues.apache.org/jira/browse/FELIX-1052
>             Project: Felix
>          Issue Type: New Feature
>          Components: Log Service, Shell
>            Reporter: Filippo Diotalevi
>            Priority: Minor
>         Attachments: log.shell.zip
>
>
> It is currently not possible to display recent logs (created with the Log 
> Service) using the Apache Felix Shell.
> The attached bundle define a shell Command to display log entries.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to