[jboss-jira] [JBoss JIRA] Created: (JBAS-9049) Need way to override the boot.log in start scripts
Scott Stark (JIRA)
jira-events at lists.jboss.org
Fri Mar 18 04:24:45 EDT 2011
Need way to override the boot.log in start scripts
--------------------------------------------------
Key: JBAS-9049
URL: https://issues.jboss.org/browse/JBAS-9049
Project: JBoss Application Server
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Components: Logging
Affects Versions: 7.0.0.Beta1
Reporter: Scott Stark
Assignee: David Lloyd
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.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list