Details
-
Task
-
Resolution: Done
-
Major
-
None
-
None
Description
https://issues.jboss.org/browse/PRODMGT-591 introduced a new logging subsystem attribute add-logging-api-dependencies.
Logging dependencies are still added by default. There are already tests in org.jboss.as.test.integration.logging covering default functionality. We have to test the case when logging modules are not available (set value of add-logging-api-dependencies to false).
LoggingDependenciesTestCase
- start the server
- deploy a archive with dependency on Log4j
- verify that deployment was successful and undeploy it
- set add-logging-api-dependencies=false
- reload the server so the changes are propagated
- deploy the archive again
- exception should be thrown this time during deployment