[
https://issues.jboss.org/browse/WFCORE-3909?page=com.atlassian.jira.plugi...
]
Jean-Francois Denise commented on WFCORE-3909:
----------------------------------------------
[~eduda], I would prefer not to make changes to all our launchers in order to address this
requirement. These scripts are difficult to maintain. Having to update the system property
is not ideal but at least allows you to tweak the logging without modifying the
properties file. I am going to close it as will not fix. We could revisit that in the
future, we can see some attempt to get ridoff part of the complexity present in launcher,
at this point we should be able to address the problem reported by this JIRA.
jboss-cli script does not delegate -D properties to java process
----------------------------------------------------------------
Key: WFCORE-3909
URL:
https://issues.jboss.org/browse/WFCORE-3909
Project: WildFly Core
Issue Type: Bug
Components: CLI, Scripts
Affects Versions: 5.0.0.Final
Reporter: Erich Duda
Assignee: Jean-Francois Denise
*Scenario:* I want to change logging configuration of CLI using system properties. My
expectation is that I just put the properties on command line as arguments.
{code}
./jboss-cli.sh -Dlogging.configuration=... -Djboss.cli.log.level=TRACE
-Djboss.cli.log.level=TRACE
{code}
However what I actually have to do is to put the properties into the {{JAVA_OPTS}} env
variable.
{code}
JAVA_OPTS="-Dlogging.configuration=... -Djboss.cli.log.level=TRACE
-Djboss.cli.log.level=TRACE" ./jboss-cli.sh
{code}
This is different behavior than I am used to standalone.sh script. IMO it is more natural
to put the properties as arguments of the script.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)