Interface LoggingConfig
-
@Immutable @Modifiable public interface LoggingConfig
Configuration related to logging.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<java.lang.String>
getBlacklistedRequestHeaders()
Header names that will not be logged to request logs.java.util.List<java.lang.String>
getBlacklistedResponseHeaders()
Header names that will not be logged to response logs.boolean
getLogAllClientRequests()
Whether to log all client requests.boolean
getLogAllServerRequests()
Whether to log all server requests.boolean
getLogProducerExecution()
Whether to do fine-grained logging of individual producer function execution.boolean
getLogRequestContent()
Whether to log content in request logs.boolean
getLogResponseContent()
Whether to log content in response logs.boolean
getTraceProducerExecution()
Whether to do fine-grained tracing of individual producer function execution.
-
-
-
Method Detail
-
getLogProducerExecution
boolean getLogProducerExecution()
Whether to do fine-grained logging of individual producer function execution. This creates a lot of output and generally should only be enabled when debugging a specific issue.
-
getTraceProducerExecution
boolean getTraceProducerExecution()
Whether to do fine-grained tracing of individual producer function execution. This can cause significant overhead and should be used with care.
-
getBlacklistedRequestHeaders
java.util.List<java.lang.String> getBlacklistedRequestHeaders()
Header names that will not be logged to request logs. By default, AUTHORIZATION is not logged.
-
getBlacklistedResponseHeaders
java.util.List<java.lang.String> getBlacklistedResponseHeaders()
Header names that will not be logged to response logs.
-
getLogRequestContent
boolean getLogRequestContent()
Whether to log content in request logs.
-
getLogResponseContent
boolean getLogResponseContent()
Whether to log content in response logs.
-
getLogAllServerRequests
boolean getLogAllServerRequests()
Whether to log all server requests. By default, only unsuccessful requests are logged.
-
getLogAllClientRequests
boolean getLogAllClientRequests()
Whether to log all client requests. When full request logging is desired, it is generally sufficient to only enablelogAllServerRequests
without also logging client requests. By default, only unsuccessful requests are logged
-
-