Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-918

Allow embedded server logging to be overridden by properties

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Duplicate
    • Icon: Major Major
    • 3.0.0.Beta1
    • None
    • CLI
    • None

      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

              kwills@redhat.com Ken Wills
              kwills@redhat.com Ken Wills
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: