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] Created: (FELIX-1987) Stacktraces are not displayed by the "log" Felix shell command
Date Fri, 15 Jan 2010 22:04:54 GMT
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

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(

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.

View raw message