From 16891643ccf33d8063b4a7007c15d52f09d52014 Mon Sep 17 00:00:00 2001 From: zafer Date: Fri, 16 Aug 2024 20:45:29 +0300 Subject: [PATCH] pipe crash dumps into stderr --- rel/env.sh.eex | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rel/env.sh.eex b/rel/env.sh.eex index a878191..05fc95d 100644 --- a/rel/env.sh.eex +++ b/rel/env.sh.eex @@ -1,4 +1,5 @@ ip=$(grep fly-local-6pn /etc/hosts | cut -f 1) export RELEASE_DISTRIBUTION=name export RELEASE_NODE=$FLY_APP_NAME@$ip -export ERL_CRASH_DUMP=/data/erl_crash.dump \ No newline at end of file +export ERL_CRASH_DUMP=/dev/stderr +export ERL_CRASH_DUMP_BYTES=8192 \ No newline at end of file