You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Pierre De Rop (JIRA)" <ji...@apache.org> on 2010/02/05 20:42:27 UTC

[jira] Closed: (FELIX-1987) Stacktraces are not displayed by the "log" Felix shell command

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