Uploaded image for project: 'Felix'
  1. Felix
  2. FELIX-1987

Stacktraces are not displayed by the "log" Felix shell command

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • shell-1.4.1
    • shell-1.4.2
    • Shell
    • 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.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            rickhall Richard S. Hall
            pderop Pierre De Rop
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment