vtlim commented on a change in pull request #12363:
URL: https://github.com/apache/druid/pull/12363#discussion_r836805094
##########
File path: docs/configuration/index.md
##########
@@ -279,24 +280,24 @@ For SQL query request, the `native_query` field is empty.
Example
2019-01-14T10:00:00.000Z 127.0.0.1
{"sqlQuery/time":100,"sqlQuery/bytes":600,"success":true,"identity":"user1"}
{"query":"SELECT page, COUNT(*) AS Edits FROM wikiticker WHERE __time BETWEEN
TIMESTAMP '2015-09-12 00:00:00' AND TIMESTAMP '2015-09-13 00:00:00' GROUP BY
page ORDER BY Edits DESC LIMIT
10","context":{"sqlQueryId":"c9d035a0-5ffd-4a79-a865-3ffdadbb5fdd","nativeQueryIds":"[490978e4-f5c7-4cf6-b174-346e63cf8863]"}}
```
-#### Emitter Request Logging
+#### Emitter request logging
-Every request is emitted to some external location.
+The `emitter` request logger emits every request to some external location,
which is configured through an [emitter](#enabling-metrics).
|Property|Description|Default|
|--------|-----------|-------|
|`druid.request.logging.feed`|Feed name for requests.|none|
-#### SLF4J Request Logging
+#### SLF4J request logging
-Every request is logged via SLF4J. Native queries are serialized into JSON in
the log message regardless of the SLF4J format specification. They will be
logged under the class `org.apache.druid.server.log.LoggingRequestLogger`.
+The `slf4j` request logger logs every request via SLF4J. Native queries are
serialized into JSON in the log message regardless of the SLF4J format
specification. Requests are logged under the class
`org.apache.druid.server.log.LoggingRequestLogger`.
|Property|Description|Default|
|--------|-----------|-------|
-|`druid.request.logging.setMDC`|If MDC entries should be set in the log entry.
Your logging setup still has to be configured to handle MDC to format this
data|false|
-|`druid.request.logging.setContextMDC`|If the druid query `context` should be
added to the MDC entries. Has no effect unless `setMDC` is `true`|false|
+|`druid.request.logging.setMDC`|If MDC entries should be set in the log entry.
Your logging setup still has to be configured to handle MDC to format this
data.|false|
Review comment:
```suggestion
|`druid.request.logging.setMDC`|If you want to set MDC entries within the
log entry, set this value to `true`. Your logging system must be configured to
support MDC to format this data.|false|
```
--
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]