diff --git a/cdap-master/src/main/java/io/cdap/cdap/data/runtime/main/MessagingServiceTwillRunnable.java b/cdap-master/src/main/java/io/cdap/cdap/data/runtime/main/MessagingServiceTwillRunnable.java index 4d6fafebb32..c6fc7c47ffb 100644 --- a/cdap-master/src/main/java/io/cdap/cdap/data/runtime/main/MessagingServiceTwillRunnable.java +++ b/cdap-master/src/main/java/io/cdap/cdap/data/runtime/main/MessagingServiceTwillRunnable.java @@ -20,6 +20,7 @@ import com.google.common.util.concurrent.Service; import com.google.inject.Guice; import com.google.inject.Injector; +import io.cdap.cdap.app.guice.AuditLogWriterModule; import io.cdap.cdap.common.conf.CConfiguration; import io.cdap.cdap.common.conf.Constants; import io.cdap.cdap.common.guice.ConfigModule; @@ -102,6 +103,7 @@ public static Injector createInjector(CConfiguration cConf, Configuration hConf) new NamespaceQueryAdminModule(), new AuthorizationEnforcementModule().getDistributedModules(), new AuthenticationContextModules().getMasterModule(), + new AuditLogWriterModule(cConf).getDistributedModules(), new MessagingServerRuntimeModule().getDistributedModules() ); }