felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pierre De Rop (JIRA)" <j...@apache.org>
Subject [jira] Updated: (FELIX-1987) Stacktraces are not displayed by the "log" Felix shell command
Date Fri, 15 Jan 2010 22:06:54 GMT

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

Pierre De Rop updated FELIX-1987:
---------------------------------

    Attachment: FELIX-1987.patch

here is the proposed patch.

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


Mime
View raw message