<div dir="ltr">Hello,<div><br></div><div>I&#39;m trying to simply replace the NoOpLoggerFactory to SystemOutLogger in apiman.properties and get below exception. It is quite strange as SystemOutLogger  is infact implements IDelegateFactory.</div><div><br></div><div>#apiman-gateway.logger-factory=io.apiman.common.logging.impl.NoOpLoggerFactory<br></div><div>apiman-gateway.logger-factory=io.apiman.common.logging.impl.SystemOutLogger <br></div><div><br></div><div>Also, If I try to change to Slf4jLoggerFactory, then even the Slf4jLoggerFactory.class is not found.</div><div><br></div><div>Could you please advise if there is any reference to be added and causes below error. Thanks</div><div><br></div><div><div>.  Falling back to the Default. [No IDataEncrypter class configured.]</div><div>16:50:52,028 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 69) MSC000001: Failed</div><div>to start service jboss.undertow.deployment.default-server.default-host./apiman-gateway-api: org.jbos</div><div>s.msc.service.StartException in service jboss.undertow.deployment.default-server.default-host./apima</div><div>n-gateway-api: java.lang.RuntimeException: java.lang.ClassCastException: io.apiman.common.logging.impl.SystemOutLogger cannot be cast to io.apiman.common.logging.IDelegateFactory</div><div>        at org.wildfly.extension.undertow.deployment.UndertowDeploymentService$1.run(UndertowDeploym</div><div>entService.java:85)</div><div>        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)</div><div>        at java.util.concurrent.FutureTask.run(FutureTask.java:266)</div><div>        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)</div><div>        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)</div><div>        at java.lang.Thread.run(Thread.java:745)</div><div>        at org.jboss.threads.JBossThread.run(JBossThread.java:320)</div><div>Caused by: java.lang.RuntimeException: java.lang.ClassCastException: io.apiman.common.logging.impl.SystemOutLogger cannot be cast to io.apiman.common.logging.IDelegateFactory</div><div>        at io.undertow.servlet.core.DeploymentManagerImpl.deploy(DeploymentManagerImpl.java:236)</div><div>        at org.wildfly.extension.undertow.deployment.UndertowDeploymentService.startContext(Undertow</div><div>DeploymentService.java:100)</div><div>        at org.wildfly.extension.undertow.deployment.UndertowDeploymentService$1.run(UndertowDeploym</div></div><div><br></div><div><br></div><div>regards</div><div>Balu</div></div>