[infinispan-issues] [JBoss JIRA] (ISPN-11225) Server should send stack trace to client

Dan Berindei (Jira) issues at jboss.org
Fri Jan 24 11:52:31 EST 2020


Dan Berindei created ISPN-11225:
-----------------------------------

             Summary: Server should send stack trace to client
                 Key: ISPN-11225
                 URL: https://issues.redhat.com/browse/ISPN-11225
             Project: Infinispan
          Issue Type: Enhancement
          Components: Server
    Affects Versions: 10.1.1.Final
            Reporter: Dan Berindei
            Assignee: Dan Berindei
             Fix For: 11.0.0.Final


When an error happens on the server, all the client gets is the exception message. Many times that is enough, as the user can use the exception message to search the server logs, but sometimes the server logs are not available, and changing the server logging configuration is not always an option.

We don't want to fill the client logs with too server stack traces either, so we need to limit the amount of information we send with one or more of

1. Disable server stack traces by default, and add a client configuration property to request stack traces when enabled.
2. Don't send the full stack trace, just 5-10 stack frames (for each exception, if there's an exception chain).
3. Don't send the stack trace for common exceptions like {{IllegalLifecycleStateException}}.




--
This message was sent by Atlassian Jira
(v7.13.8#713008)


More information about the infinispan-issues mailing list