add noop type name to prevent jackson exception when setting type to noop (#8133)

This commit is contained in:
Parag Jain 2019-07-26 04:37:08 +05:30 committed by Himanshu
parent ef9230f916
commit 31a29d8883
1 changed files with 2 additions and 0 deletions

View File

@ -19,10 +19,12 @@
package org.apache.druid.server.log; package org.apache.druid.server.log;
import com.fasterxml.jackson.annotation.JsonTypeName;
import org.apache.druid.java.util.common.logger.Logger; import org.apache.druid.java.util.common.logger.Logger;
/** /**
*/ */
@JsonTypeName("noop")
public class NoopRequestLoggerProvider implements RequestLoggerProvider public class NoopRequestLoggerProvider implements RequestLoggerProvider
{ {
private static final Logger log = new Logger(NoopRequestLoggerProvider.class); private static final Logger log = new Logger(NoopRequestLoggerProvider.class);