[ 
https://issues.apache.org/jira/browse/FELIX-1987?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Pierre De Rop closed FELIX-1987.
--------------------------------


thanks.

> Stacktraces are not displayed by the "log" Felix shell command
> --------------------------------------------------------------
>
>                 Key: FELIX-1987
>                 URL: https://issues.apache.org/jira/browse/FELIX-1987
>             Project: Felix
>          Issue Type: Improvement
>          Components: Shell
>    Affects Versions: shell-1.4.1
>            Reporter: Pierre De Rop
>            Assignee: Richard S. Hall
>             Fix For: shell-1.6.0
>
>         Attachments: FELIX-1987.patch
>
>
> Currently, it's impossible to inspect stacktraces, using the "log" Felix 
> shell command, and this is an issue, especially when debugging.
> Indeed, in the shell, the LogCommandImpl.display method is currently 
> implemented like this:
>         if (entry.getException() != null)
>         {
>             
> buffer.append(entry.getException().getClass().getName()).append(": ").append(
>                 entry.getException().getMessage());
>         }
> So, the exception message is just logged.
> The attached patch improves the code above, and displays the full 
> stracktrace, instead of just the Exception's message.

-- 
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