Package org.apache.druid.server.log
Class LoggingRequestLogger
java.lang.Object
org.apache.druid.server.log.LoggingRequestLogger
- All Implemented Interfaces:
RequestLogger
-
Constructor Summary
ConstructorsConstructorDescriptionLoggingRequestLogger(com.fasterxml.jackson.databind.ObjectMapper mapper, boolean setMDC, boolean setContextMDC) -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanisSetMDC()voidlogNativeQuery(RequestLogLine requestLogLine) voidlogSqlQuery(RequestLogLine requestLogLine) toString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.druid.server.log.RequestLogger
start, stop
-
Constructor Details
-
LoggingRequestLogger
public LoggingRequestLogger(com.fasterxml.jackson.databind.ObjectMapper mapper, boolean setMDC, boolean setContextMDC)
-
-
Method Details
-
logNativeQuery
- Specified by:
logNativeQueryin interfaceRequestLogger- Throws:
IOException
-
logSqlQuery
- Specified by:
logSqlQueryin interfaceRequestLogger- Throws:
IOException
-
isSetMDC
public boolean isSetMDC() -
isSetContextMDC
public boolean isSetContextMDC() -
toString
-