-
Notifications
You must be signed in to change notification settings - Fork 41.6k
Closed
Labels
status: declinedA suggestion or change that we don't feel we should currently applyA suggestion or change that we don't feel we should currently apply
Description
c5cae28 added support for plain text thread dump (#2339)
Issuing a http request without accepts: application/json (such as browser request) returns json format by default.
The json format is very hard to read by humans. For example, a stacktrace element has 8 fields (10 lines pretty formatted) so reading a stacktrace requires scrolling multiple pages...
{
"classLoaderName": null,
"moduleName": null,
"moduleVersion": null,
"methodName": "ajc$around$org_springframework_transaction_aspectj_AbstractTransactionAspect$1$2a73e96cproceed",
"fileName": "AbstractTransactionAspect.aj",
"lineNumber": 67,
"className": "org.springframework.transaction.aspectj.AbstractTransactionAspect",
"nativeMethod": false
},
The plain text format is more compact and easier to read by humans, and should be used by default instead.
This way, when requesting the thread dump through browser it will be easier to read.
vpaviczoosm3
Metadata
Metadata
Assignees
Labels
status: declinedA suggestion or change that we don't feel we should currently applyA suggestion or change that we don't feel we should currently apply