]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Allow for debugging flag
authorcholm <cholm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 12 Jul 2010 13:37:20 +0000 (13:37 +0000)
committercholm <cholm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 12 Jul 2010 13:37:20 +0000 (13:37 +0000)
FMD/FMDBaseda.cxx

index a9c74fecbe5089ac36f33b23766f03faf5e4229c..388e8e70d6e89d4a317875e338e4e1bc0065a646 100644 (file)
@@ -13,6 +13,7 @@
 */
 #include "monitor.h"
 #include "event.h"
+#include <AliLog.h>
 #include <TSystem.h>
 #include <TString.h>
 #include <AliFMDParameters.h>
@@ -60,6 +61,7 @@ int main(int argc, char **argv)
     return -1;
   }
   
+  if (argc > 2) AliLog::SetModuleDebugLevel("FMD", atoi(argv[2]));
   /* declare monitoring program */
   status=monitorDeclareMp( __FILE__ );
   if (status!=0) {