Permalink
Browse files

MB-5184 Append date, time and PID to crash dump name.

This makes names more or less unique.

Change-Id: I3c06c9e086806e0816b53b5eda3ef9ac6a292ef0
Reviewed-on: http://review.couchbase.org/21274
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
  • Loading branch information...
1 parent 2718d8f commit c6cb9fcbe32f7695279c3309e6b22186a20f5fe0 @aartamonau aartamonau committed with Farshid Ghods Oct 2, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 couchbase-server.sh.in
View
@@ -35,6 +35,9 @@ couch_start_arguments=""
LD_LIBRARY_PATH="@PREFIX@/lib":"@PREFIX@/lib/memcached":$LD_LIBRARY_PATH
export LD_LIBRARY_PATH
+ERL_CRASH_DUMP=erl_crash.dump.$(date +%m-%d-%Y-%H:%M:%S).$$
+export ERL_CRASH_DUMP
+
# For some obscure reason erl requires HOME environment variable to be set.
if [ -z "$HOME" ]
then

0 comments on commit c6cb9fc

Please sign in to comment.