diff --git a/scripts/start-finalExec b/scripts/start-finalExec
index dfe627f3..90e23155 100755
--- a/scripts/start-finalExec
+++ b/scripts/start-finalExec
@@ -130,8 +130,8 @@ if ${canUseRollingLogs}; then
LOGFILE="${SERVER_DIR}/log4j2.xml"
- # Always regenerate if file doesn't exist or REGENERATE_LOG4J2 is set
- if [ ! -e "$LOGFILE" ] || isTrue "${REGENERATE_LOG4J2:-false}"; then
+ # Always regenerate if file doesn't exist
+ if [ ! -e "$LOGFILE" ] || isTrue "${REGENERATE_LOG4J2:-true}"; then
log "Generating log4j2.xml from template in ${LOGFILE}"
# Generate log4j2.xml using heredoc for reliable variable substitution
@@ -142,6 +142,9 @@ if ${canUseRollingLogs}; then
+
+
+