]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
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 a37e4270844fb33e1ddb3c5599a2c0bba8d7fc71..cc7523a106a4a484df8c6e1927430308e67cafbe 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);
+  }
+
 }