This is an automated email from the ASF dual-hosted git repository.

gallardot pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler.git


The following commit(s) were added to refs/heads/dev by this push:
     new b885970b6b [Improvement-16758][Deploy] Record the fatal error Log 
(#16829)
b885970b6b is described below

commit b885970b6b3a137725ce967549ebc9536bb77c49
Author: zhu3pang <[email protected]>
AuthorDate: Thu Nov 21 19:54:36 2024 +0800

    [Improvement-16758][Deploy] Record the fatal error Log (#16829)
---
 .../dolphinscheduler-alert-server/src/main/bin/jvm_args_env.sh           | 1 +
 dolphinscheduler-api/src/main/bin/jvm_args_env.sh                        | 1 +
 dolphinscheduler-master/src/main/bin/jvm_args_env.sh                     | 1 +
 dolphinscheduler-standalone-server/src/main/bin/jvm_args_env.sh          | 1 +
 dolphinscheduler-worker/src/main/bin/jvm_args_env.sh                     | 1 +
 5 files changed, 5 insertions(+)

diff --git 
a/dolphinscheduler-alert/dolphinscheduler-alert-server/src/main/bin/jvm_args_env.sh
 
b/dolphinscheduler-alert/dolphinscheduler-alert-server/src/main/bin/jvm_args_env.sh
index 9d19a823f7..e10dbf2cf3 100644
--- 
a/dolphinscheduler-alert/dolphinscheduler-alert-server/src/main/bin/jvm_args_env.sh
+++ 
b/dolphinscheduler-alert/dolphinscheduler-alert-server/src/main/bin/jvm_args_env.sh
@@ -23,6 +23,7 @@
 -XX:+PrintGCDateStamps
 -XX:+PrintGCDetails
 -Xloggc:gc-%t.log
+-XX:ErrorFile=java_error-%p.log
 
 -XX:-OmitStackTraceInFastThrow
 -XX:+ExitOnOutOfMemoryError
diff --git a/dolphinscheduler-api/src/main/bin/jvm_args_env.sh 
b/dolphinscheduler-api/src/main/bin/jvm_args_env.sh
index 9d19a823f7..e10dbf2cf3 100644
--- a/dolphinscheduler-api/src/main/bin/jvm_args_env.sh
+++ b/dolphinscheduler-api/src/main/bin/jvm_args_env.sh
@@ -23,6 +23,7 @@
 -XX:+PrintGCDateStamps
 -XX:+PrintGCDetails
 -Xloggc:gc-%t.log
+-XX:ErrorFile=java_error-%p.log
 
 -XX:-OmitStackTraceInFastThrow
 -XX:+ExitOnOutOfMemoryError
diff --git a/dolphinscheduler-master/src/main/bin/jvm_args_env.sh 
b/dolphinscheduler-master/src/main/bin/jvm_args_env.sh
index 0fedc71491..96496280ba 100644
--- a/dolphinscheduler-master/src/main/bin/jvm_args_env.sh
+++ b/dolphinscheduler-master/src/main/bin/jvm_args_env.sh
@@ -23,6 +23,7 @@
 -XX:+PrintGCDateStamps
 -XX:+PrintGCDetails
 -Xloggc:gc-%t.log
+-XX:ErrorFile=java_error-%p.log
 
 -XX:-OmitStackTraceInFastThrow
 -XX:+ExitOnOutOfMemoryError
diff --git a/dolphinscheduler-standalone-server/src/main/bin/jvm_args_env.sh 
b/dolphinscheduler-standalone-server/src/main/bin/jvm_args_env.sh
index b0e99e28f1..53839e929c 100644
--- a/dolphinscheduler-standalone-server/src/main/bin/jvm_args_env.sh
+++ b/dolphinscheduler-standalone-server/src/main/bin/jvm_args_env.sh
@@ -23,6 +23,7 @@
 -XX:+PrintGCDateStamps
 -XX:+PrintGCDetails
 -Xloggc:gc-%t.log
+-XX:ErrorFile=java_error-%p.log
 
 -XX:-OmitStackTraceInFastThrow
 -XX:+ExitOnOutOfMemoryError
diff --git a/dolphinscheduler-worker/src/main/bin/jvm_args_env.sh 
b/dolphinscheduler-worker/src/main/bin/jvm_args_env.sh
index b0e99e28f1..53839e929c 100644
--- a/dolphinscheduler-worker/src/main/bin/jvm_args_env.sh
+++ b/dolphinscheduler-worker/src/main/bin/jvm_args_env.sh
@@ -23,6 +23,7 @@
 -XX:+PrintGCDateStamps
 -XX:+PrintGCDetails
 -Xloggc:gc-%t.log
+-XX:ErrorFile=java_error-%p.log
 
 -XX:-OmitStackTraceInFastThrow
 -XX:+ExitOnOutOfMemoryError

Reply via email to