Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-360

Need way to override the boot.log in start scripts

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: Critical Critical
    • 7.1.0.Final
    • 7.0.0.Beta1
    • Logging
    • None

      We need the ability to specify the location of the boot.log. Right now the boot.log location is specified via the org.jboss.boot.log.file java system property, but this is always set to $JBOSS_HOME/standalone/log/boot.log in the server start scripts. This should either not be set and simply default to $JBOSS_HOME/standalone/log/boot.log when unset so that it may be passed into the jvm, or, we need a JBOSS_BOOT_LOG env property that can override this value along the line of:

      if [ "x$JBOSS_BOOT_LOG" = "x" ]; then
      JBOSS_BOOT_LOG="$JBOSS_HOME/standalone/log/boot.log"
      fi
      while true; do
      if [ "x$LAUNCH_JBOSS_IN_BACKGROUND" = "x" ]; then

      1. Execute the JVM in the foreground
        eval \"$JAVA\" $JAVA_OPTS \
        \"-Dorg.jboss.boot.log.file=$JBOSS_BOOT_LOG\" \
        ...

            jperkins-rhn James Perkins
            starksm64 Scott Stark (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 1 hour
                1h
                Remaining:
                Remaining Estimate - 1 hour
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified