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

Allow embedded server logging to be overridden by properties

    Details

    • Type: Feature Request
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Duplicate Issue
    • Affects Version/s: None
    • Fix Version/s: 3.0.0.Beta1
    • Component/s: CLI
    • Labels:
      None

      Description

      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

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                luck3y Ken Wills
                Reporter:
                luck3y Ken Wills
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: