[
https://issues.jboss.org/browse/WFCORE-918?page=com.atlassian.jira.plugin...
]
Ken Wills commented on WFCORE-918:
----------------------------------
Note, this is mostly fixed by WFCORE-1977, however, starting an embedded server does not
currently override configured logging properties correctly.
This means that in, for example the manualmode unit tests, standalone servers that are
started, then stopped will persist a hardcoded path to a logfile that will then be picked
up by the embedded server when starting and logged to.
Allow embedded server logging to be overridden by properties
------------------------------------------------------------
Key: WFCORE-918
URL:
https://issues.jboss.org/browse/WFCORE-918
Project: WildFly Core
Issue Type: Feature Request
Components: CLI
Reporter: Ken Wills
Assignee: Ken Wills
Fix For: 3.0.0.Beta1
For example:
$ export JBOSS_HOME=/home/kwills/git/wildfly/build/target/wf/
$ java -jar wildfly-10.0.0.CR1-SNAPSHOT/bin/client/jboss-cli-client.jar
-Djboss.server.base.dir=standalone1 -Djboss.server.log.dir=log
[disconnected /] embed-server --std-out=echo
This should log to $JBOSS_HOME/standalone1/log
The properties available to override are:
jboss.server.base.dir defaults to jbossHome.getAbsolutePath() + File.separator +
"standalone" ("domain" for domain servers).
jboss.server.configuration.dir defaults to "configuration"
jboss.server.log.dir defaults to log
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)