techdocsmith commented on a change in pull request #11755:
URL: https://github.com/apache/druid/pull/11755#discussion_r719579728
##########
File path: docs/configuration/index.md
##########
@@ -631,6 +631,48 @@ Store task logs in HDFS. Note that the
`druid-hdfs-storage` extension must be lo
|`druid.indexer.logs.kill.initialDelay`| Optional. Number of milliseconds
after Overlord start when first auto kill is run. |random value less than
300000 (5 mins)|
|`druid.indexer.logs.kill.delay`|Optional. Number of milliseconds of delay
between successive executions of auto kill run. |21600000 (6 hours)|
+### API error response
+
+You can configure Druid API error responses to hide internal information like
the Druid class name, stack trace, thread name, servlet name, code, line/column
number, host, or IP address.
+
+|Property|Description|Default|
+|--------|-----------|-------|
+|`druid.server.http.showDetailedJettyErrors`|When set to true, any error from
the Jetty layer / Jetty filter includes `servlet`, `message`, `url`, `status`,
and `cause`, if it exists, fields in the JSON response. When set to false, the
JSON response only includes `message`, `url`, and `status`. The field values
remain unchanged.|true|
Review comment:
```suggestion
|`druid.server.http.showDetailedJettyErrors`|When set to true, any error
from the Jetty layer / Jetty filter includes the following fields in the JSON
response: `servlet`, `message`, `url`, `status`, and `cause`, if it exists.
When set to false, the JSON response only includes `message`, `url`, and
`status`. The field values remain unchanged.|true|
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]