diff --git a/logback-classic/src/main/java/ch/qos/logback/classic/joran/ModelClassToModelHandlerLinker.java b/logback-classic/src/main/java/ch/qos/logback/classic/joran/ModelClassToModelHandlerLinker.java index 3c99410cd3..0ced8b7935 100644 --- a/logback-classic/src/main/java/ch/qos/logback/classic/joran/ModelClassToModelHandlerLinker.java +++ b/logback-classic/src/main/java/ch/qos/logback/classic/joran/ModelClassToModelHandlerLinker.java @@ -19,12 +19,14 @@ import ch.qos.logback.classic.model.LevelModel; import ch.qos.logback.classic.model.LoggerContextListenerModel; import ch.qos.logback.classic.model.LoggerModel; +import ch.qos.logback.classic.model.ReceiverModel; import ch.qos.logback.classic.model.RootLoggerModel; import ch.qos.logback.classic.model.processor.ConfigurationModelHandler; import ch.qos.logback.classic.model.processor.ContextNameModelHandler; import ch.qos.logback.classic.model.processor.LevelModelHandler; import ch.qos.logback.classic.model.processor.LoggerContextListenerModelHandler; import ch.qos.logback.classic.model.processor.LoggerModelHandler; +import ch.qos.logback.classic.model.processor.ReceiverModelHandler; import ch.qos.logback.classic.model.processor.RootLoggerModelHandler; import ch.qos.logback.core.Context; import ch.qos.logback.core.joran.ModelClassToModelHandlerLinkerBase; @@ -66,6 +68,7 @@ public void link(DefaultProcessor defaultProcessor) { defaultProcessor.addHandler(InsertFromJNDIModel.class, InsertFromJNDIModelHandler::makeInstance); defaultProcessor.addHandler(AppenderModel.class, AppenderModelHandler::makeInstance); + defaultProcessor.addHandler(ReceiverModel.class, ReceiverModelHandler::makeInstance); defaultProcessor.addHandler(AppenderRefModel.class, AppenderRefModelHandler::makeInstance); defaultProcessor.addHandler(RootLoggerModel.class, RootLoggerModelHandler::makeInstance); defaultProcessor.addHandler(LoggerModel.class, LoggerModelHandler::makeInstance);