Timeline for How to make sure that log4j2 works with jboss server?
Current License: CC BY-SA 4.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
May 30 at 20:28 | comment | added | James R. Perkins |
Did you include the org.jboss.logmanager:log4j2-jboss-logmanager in your deployment along with the org.apache.logging.log4j:log4japi ?
|
|
May 27 at 10:08 | comment | added | tanvi kulkarni | @JamesR.Perkins Is there any other way to do this? As you said, the above method did not work. | |
May 17 at 14:32 | comment | added | James R. Perkins |
This will not work with JBoss EAP 7.2. JBoss EAP 7.2 does not ship with log4j2. You could include the org.jboss.logmanager:log4j2-jboss-logmanager in your deployment and use the logging subsystem for the configuration though.
|
|
May 14 at 11:26 | comment | added | Payam Soudachi | <dependency> <groupId>org.jboss.logmanager</groupId> <artifactId>log4j2-jboss-logmanager</artifactId> <version>1.0.9.Final</version> <!-- Use the appropriate version --> </dependency> <dependency> <groupId>org.apache.logging.log4j</groupId> <artifactId>log4j-api</artifactId> <version>2.17.2</version> </dependency> <dependency> <groupId>org.apache.logging.log4j</groupId> <artifactId>log4j-core</artifactId> <version>2.17.2</version> </dependency> | |
May 14 at 10:19 | comment | added | tanvi kulkarni | I am getting an error that’s says it is not able to find the Log4j2Handler class. Which jar are you referring to in this case? | |
May 14 at 7:04 | history | answered | Payam Soudachi | CC BY-SA 4.0 |