From cd4f3d224c403a2e21ffe9bccc279c7b78a040fa Mon Sep 17 00:00:00 2001 From: mivanov Date: Mon, 19 May 2014 22:58:03 +0200 Subject: [PATCH] PWGPP-4 ATO-35 - optional enablig of core dumps in case envirnment variables ALIROOT_FORCE_COREDUMP set --- STEER/STEERBase/AliLog.cxx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/STEER/STEERBase/AliLog.cxx b/STEER/STEERBase/AliLog.cxx index a37e4270844..cc7523a106a 100644 --- a/STEER/STEERBase/AliLog.cxx +++ b/STEER/STEERBase/AliLog.cxx @@ -378,6 +378,10 @@ void AliLog::ReadEnvSettings() fPrintRepetitions = on; AliDebug(3, Form("printing of message repetitions %sabled", ((on) ? "en" : "dis"))); } + if (gSystem->Getenv("ALIROOT_FORCE_COREDUMP")){ + EnableCoreDump(kTRUE); + } + } -- 2.43.0