]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - STEER/STEERBase/AliLog.cxx
PWGPP-4 ATO-35 - optional enablig of core dumps in case envirnment variables ALIROOT_...
[u/mrichter/AliRoot.git] / 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);
+  }
+
 }