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

Allow embedded server logging to be overridden by properties

    XMLWordPrintable

Details

    • Feature Request
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Duplicate Issue
    • None
    • 3.0.0.Beta1
    • CLI
    • 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

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: