PWGPP-4 ATO-35 - optional enablig of core dumps in case envirnment variables ALIROOT_...
authormivanov <marian.ivanov@cern.ch>
Mon, 19 May 2014 20:58:03 +0000 (22:58 +0200)
committerhristov <Peter.Hristov@cern.ch>
Thu, 29 May 2014 14:36:03 +0000 (16:36 +0200)
STEER/STEERBase/AliLog.cxx

index a37e427..cc7523a 100644 (file)
@@ -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);
+  }
+
 }