Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
shell-1.4.1
-
None
Description
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.