@@ -510,8 +510,8 @@ int CTPConfiguration::processConfigurationLineRun3(std::string& line, int& level
510510}
511511int CTPConfiguration::processConfigurationLineRun3v2 (std::string& line, int & level, std::map<int , std::vector<int >>& descInputsIndex)
512512{
513- LOG (info ) << " Processing line" ;
514- LOG (info ) << " line:" << line << " lev:" << level;
513+ LOG (debug ) << " Processing line" ;
514+ LOG (debug ) << " line:" << line << " lev:" << level;
515515 //
516516 std::vector<std::string> tokens = o2::utils::Str::tokenize (line, ' ' );
517517 size_t ntokens = tokens.size ();
@@ -557,7 +557,7 @@ int CTPConfiguration::processConfigurationLineRun3v2(std::string& line, int& lev
557557 level = UNKNOWN ;
558558 }
559559 }
560- LOG (info ) << " Level:" << level;
560+ LOG (debug ) << " Level:" << level;
561561 switch (level) {
562562 case VERSION : {
563563 break ;
@@ -585,7 +585,7 @@ int CTPConfiguration::processConfigurationLineRun3v2(std::string& line, int& lev
585585 uint32_t index = std::stoul (tokens[2 ]);
586586 ctpinp.inputMask = (1ull << (index - 1 ));
587587 mInputs .push_back (ctpinp);
588- LOG (info ) << " Input:" << ctpinp.name << " index:" << index;
588+ LOG (debug ) << " Input:" << ctpinp.name << " index:" << index;
589589 break ;
590590 }
591591 case MASKS : {
@@ -596,15 +596,15 @@ int CTPConfiguration::processConfigurationLineRun3v2(std::string& line, int& lev
596596 }
597597 bcmask.setBCmask (tokens);
598598 mBCMasks .push_back (bcmask);
599- LOG (info ) << " BC mask added:" << bcmask.name ;
599+ LOG (debug ) << " BC mask added:" << bcmask.name ;
600600 break ;
601601 }
602602 case GENS : {
603603 CTPGenerator gen;
604604 gen.name = tokens[0 ];
605605 gen.frequency = tokens[1 ];
606606 mGenerators .push_back (gen);
607- LOG (info ) << " Gen added:" << line;
607+ LOG (debug ) << " Gen added:" << line;
608608 break ;
609609 }
610610 case DESCRIPTORS : {
@@ -630,9 +630,9 @@ int CTPConfiguration::processConfigurationLineRun3v2(std::string& line, int& lev
630630 o2::detectors::DetID det (detname.c_str ());
631631 if (isDetector (det)) {
632632 ctpdet.detID = det.getID ();
633- LOG (info ) << " Detector found:" << det.getID () << " " << detname;
633+ LOG (debug ) << " Detector found:" << det.getID () << " " << detname;
634634 } else {
635- LOG (info ) << " Unknown detectors:" << line;
635+ LOG (error ) << " Unknown detectors:" << line;
636636 }
637637 mDetectors .push_back (ctpdet);
638638 level = LTGitems;
@@ -642,18 +642,18 @@ int CTPConfiguration::processConfigurationLineRun3v2(std::string& line, int& lev
642642 if (ntokens == 1 ) {
643643 mDetectors .back ().mode = tokens[0 ];
644644 }
645- LOG (info ) << " LTGitem:" << line;
645+ LOG (debug ) << " LTGitem:" << line;
646646 break ;
647647 }
648648 case CLUSTER : {
649649 CTPCluster cluster;
650650 try {
651651 cluster.hwMask = std::stoull (tokens[0 ]);
652652 } catch (...) {
653- LOG (info ) << " Cluster syntax error:" << line;
653+ LOG (error ) << " Cluster syntax error:" << line;
654654 return level;
655655 }
656- LOG (info ) << " Cluster:" << line;
656+ LOG (debug ) << " Cluster:" << line;
657657 cluster.name = tokens[2 ];
658658 o2::detectors::DetID::mask_t mask;
659659 for (uint32_t item = 3 ; item < ntokens; item++) {
@@ -680,10 +680,10 @@ int CTPConfiguration::processConfigurationLineRun3v2(std::string& line, int& lev
680680 try {
681681 index = std::stoull (tokens[1 ]);
682682 } catch (...) {
683- LOG (info ) << " Class syntax error:" << line;
683+ LOG (error ) << " Class syntax error:" << line;
684684 return level;
685685 }
686- LOG (info ) << " Class:" << line;
686+ LOG (debug ) << " Class:" << line;
687687 CTPClass cls;
688688 cls.classMask = 1ull << index;
689689 cls.name = tokens[0 ];
@@ -716,7 +716,7 @@ int CTPConfiguration::processConfigurationLineRun3v2(std::string& line, int& lev
716716 break ;
717717 }
718718 default : {
719- LOG (info ) << " unknown line:" << line;
719+ LOG (warning ) << " unknown line:" << line;
720720 }
721721 }
722722 return 0 ;
0 commit comments