How to Add the system property -Dorg.jboss.as.logging.per-deployment=false permanently via CLI in EAP 6 and 7?
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 6.x
- 7.x
Issue
- Is it possible to set
org.jboss.as.logging.per-deploymentas asystem propertyin EAP 6 and 7?
Resolution
- By using below CLI command
-Dorg.jboss.as.logging.per-deployment=falsewill set intostandalone.xml:
/system-property=org.jboss.as.logging.per-deployment:add(value=false)
- This system property
-Dorg.jboss.as.logging.per-deployment=false, disables the deployer which scans for the logging configuration files in your deployment. This will prevent JBoss from trying to create a log context for your deployment.
SBR
Category
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.