[jboss-jira] [JBoss JIRA] (AS7-360) Need way to override the boot.log in start scripts
James Perkins (JIRA)
jira-events at lists.jboss.org
Thu Feb 2 19:09:49 EST 2012
[ https://issues.jboss.org/browse/AS7-360?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
James Perkins reassigned AS7-360:
---------------------------------
Assignee: James Perkins (was: David Lloyd)
> Need way to override the boot.log in start scripts
> --------------------------------------------------
>
> Key: AS7-360
> URL: https://issues.jboss.org/browse/AS7-360
> Project: Application Server 7
> Issue Type: Feature Request
> Components: Logging
> Affects Versions: 7.0.0.Beta1
> Reporter: Scott Stark
> Assignee: James Perkins
> Priority: Critical
> Fix For: 7.1.0.Final
>
> Original Estimate: 1 hour
> Remaining Estimate: 1 hour
>
> 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
> # Execute the JVM in the foreground
> eval \"$JAVA\" $JAVA_OPTS \
> \"-Dorg.jboss.boot.log.file=$JBOSS_BOOT_LOG\" \
> ...
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list