Package org.apache.druid.server.log
Class LoggingRequestLogger
- java.lang.Object
-
- org.apache.druid.server.log.LoggingRequestLogger
-
- All Implemented Interfaces:
RequestLogger
public class LoggingRequestLogger extends Object implements RequestLogger
-
-
Constructor Summary
Constructors Constructor Description LoggingRequestLogger(com.fasterxml.jackson.databind.ObjectMapper mapper, boolean setMDC, boolean setContextMDC)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisSetContextMDC()booleanisSetMDC()voidlogNativeQuery(RequestLogLine requestLogLine)voidlogSqlQuery(RequestLogLine requestLogLine)StringtoString()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.druid.server.log.RequestLogger
start, stop
-
-
-
-
Method Detail
-
logNativeQuery
public void logNativeQuery(RequestLogLine requestLogLine) throws IOException
- Specified by:
logNativeQueryin interfaceRequestLogger- Throws:
IOException
-
logSqlQuery
public void logSqlQuery(RequestLogLine requestLogLine) throws IOException
- Specified by:
logSqlQueryin interfaceRequestLogger- Throws:
IOException
-
isSetMDC
public boolean isSetMDC()
-
isSetContextMDC
public boolean isSetContextMDC()
-
-