From 31a29d888315947eb5c95f304c0cf06689be89a6 Mon Sep 17 00:00:00 2001 From: Parag Jain Date: Fri, 26 Jul 2019 04:37:08 +0530 Subject: [PATCH] add noop type name to prevent jackson exception when setting type to noop (#8133) --- .../org/apache/druid/server/log/NoopRequestLoggerProvider.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server/src/main/java/org/apache/druid/server/log/NoopRequestLoggerProvider.java b/server/src/main/java/org/apache/druid/server/log/NoopRequestLoggerProvider.java index bff0f01d305..d1200f2a92b 100644 --- a/server/src/main/java/org/apache/druid/server/log/NoopRequestLoggerProvider.java +++ b/server/src/main/java/org/apache/druid/server/log/NoopRequestLoggerProvider.java @@ -19,10 +19,12 @@ package org.apache.druid.server.log; +import com.fasterxml.jackson.annotation.JsonTypeName; import org.apache.druid.java.util.common.logger.Logger; /** */ +@JsonTypeName("noop") public class NoopRequestLoggerProvider implements RequestLoggerProvider { private static final Logger log = new Logger(NoopRequestLoggerProvider.class);