<div dir="ltr"><div>Hi,</div><div><br></div><div>I'm following this guide to get logging sent to kafka: <a href="https://developer.jboss.org/wiki/SendingWildFlyLogsToKafka">https://developer.jboss.org/wiki/SendingWildFlyLogsToKafka</a></div><div><br></div><div>This works on EAP <a href="http://7.2.3.GA">7.2.3.GA</a> running on JDK 8, but fails to run on JDK 11:</div><div><br></div><div>```<br></div><div><pre class="gmail-code-java">15:54:28,819 ERROR [org.jboss.as.controller.management-operation] (Controller Boot <span class="gmail-code-object">Thread</span>) WFLYCTL0013: Operation (<span class="gmail-code-quote">"add"</span>) failed - address: ([
(<span class="gmail-code-quote">"subsystem"</span> => <span class="gmail-code-quote">"logging"</span>),
(<span class="gmail-code-quote">"custom-handler"</span> => <span class="gmail-code-quote">"kafka"</span>)
]): java.lang.IllegalArgumentException: Failed to load module <span class="gmail-code-quote">"org.apache.log4j"</span> <span class="gmail-code-keyword">for</span> pojo <span class="gmail-code-quote">"kafka"<br>...<br><font face="arial,sans-serif">```<br></font></span></pre><pre class="gmail-code-java"><span class="gmail-code-quote"><font face="arial,sans-serif">Do you think this is related to the new module system in JDK 11 and I need to add some extra JVM flags to get it to work?<br></font></span></pre><pre class="gmail-code-java"><span class="gmail-code-quote"><font face="arial,sans-serif">Thank you for your help!<br><br></font></span></pre><pre class="gmail-code-java"><span class="gmail-code-quote"><font face="arial,sans-serif">Sincerely,<br>Dustin<br></font></span></pre></div></div>