[wildfly-dev] Kafka + logging

Dustin Kut Moy Cheung dcheung at redhat.com
Mon Sep 16 17:27:53 EDT 2019


Hi,

I'm following this guide to get logging sent to kafka:
https://developer.jboss.org/wiki/SendingWildFlyLogsToKafka

This works on EAP 7.2.3.GA running on JDK 8, but fails to run on JDK 11:

```

15:54:28,819 ERROR [org.jboss.as.controller.management-operation]
(Controller Boot Thread) WFLYCTL0013: Operation ("add") failed -
address: ([
    ("subsystem" => "logging"),
    ("custom-handler" => "kafka")
]): java.lang.IllegalArgumentException: Failed to load module
"org.apache.log4j" for pojo "kafka"
...
```

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?

Thank you for your help!

Sincerely,
Dustin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/wildfly-dev/attachments/20190916/c2d30a07/attachment.html 


More information about the wildfly-dev mailing list