Changeset 10676 for trunk/FACT++/src/dataLogger.cc
- Timestamp:
- 05/12/11 13:44:09 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/dataLogger.cc
r10675 r10676 1247 1247 { 1248 1248 Message("-----------------------------------------"); 1249 Message("------ DATA LOGGER CURRENT STATE----------");1249 Message("------ DATA LOGGER CURRENT STATE --------"); 1250 1250 Message("-----------------------------------------"); 1251 1251 //print the path configuration … … 1272 1272 str << "Run Number: " << fRunFileName; 1273 1273 Message(str.str()); 1274 Message("----------- OPENED FILES------------------");1274 Message("----------- OPENED FILES ----------------"); 1275 1275 //print all the open files. 1276 1276 if (fNightlyLogFile.is_open()) … … 1365 1365 statVar.sizeWritten -= fBaseSizeRun; 1366 1366 */ 1367 Message("---------------- -STATS-------------------");1367 Message("---------------- STATS ------------------"); 1368 1368 str.str(""); 1369 1369 str << "Total Size written: " << statVar.sizeWritten << " bytes."; … … 1378 1378 else 1379 1379 Message("Statistics updates are currently disabled"); 1380 Message("----------- -DIM SUBSCRIPTIONS------------");1380 Message("----------- DIM SUBSCRIPTIONS -----------"); 1381 1381 1382 1382 str.str(""); … … 1391 1391 } 1392 1392 if (fIsBlackList) 1393 Message("------------ BLOCK LIST-------------------");1393 Message("------------- BLOCK LIST ----------------"); 1394 1394 else 1395 1395 if (fGreyList.size() != 0) 1396 Message("----------- -ALLOW LIST-------------------");1396 Message("----------- ALLOW LIST ------------------"); 1397 1397 for (set<string>::iterator it=fGreyList.begin(); it != fGreyList.end(); it++) 1398 1398 Message(*it); … … 1851 1851 1852 1852 default: 1853 Error("THIS SHOULD NEVER BE REACHED. dataLogger.cc ln 1198.");1853 Fatal("THIS SHOULD NEVER BE REACHED. dataLogger.cc ln 1198."); 1854 1854 }; 1855 1855 //we skip the variable length strings for now (in fits only) … … 2224 2224 /* Additional help text which is printed after the configuration 2225 2225 options goes here */ 2226 cout << "\n" 2227 "The Block option has priority over the allow." 2228 " i.e. if both are present, only the block list is kept." 2229 "If only a server name or service without its server prefix is given " 2230 "then all the services of that server, or all the services that correspond to the given suffix" 2231 " are ignored or considered." 2232 "\n" 2233 "For example, block=DIS_DNS will skip all the services offered by the DIS_DNS server. " 2234 "while block=SERVICE_LIST will skip all the SERVICE_LIST services offered by any server." 2235 "\n" 2236 " The Commands offered by the dataLoger are the following: \n"; 2237 cout << DataLogger::fConfigDay << " specify the path where to put the nightly files\n"; 2238 cout << DataLogger::fConfigRun << " specify the path where to put the run files\n"; 2239 cout << DataLogger::fConfigRunNumber << " specify the run number\n"; 2240 cout << DataLogger::fConfigLog << " log a particular message\n"; 2241 cout << DataLogger::fTransStart << " start the nightly logging\n"; 2242 cout << DataLogger::fTransStop << " stop the nightly logging\n"; 2243 cout << DataLogger::fTransStartRun << " start the run logging\n"; 2244 cout << DataLogger::fTransStopRun << " stop the run logging\n"; 2245 cout << DataLogger::fTransReset << " stop any logging and/or recover from an error state\n"; 2246 cout << DataLogger::fTransWait << " go to the wait for run number state\n"; 2247 cout << DataLogger::fPrintCommand << " print the current state of the logger to the shell\n"; 2248 cout << DataLogger::fDebugOnOff << " turn on or off the debug mode\n"; 2249 cout << DataLogger::fStatsPeriod << " set the periodicity of the statistics. 0 disable them\n"; 2250 cout << endl; 2251 2226 cout << 2227 "\n" 2228 "The block option has priority over the allow, " 2229 "i.e. if both are present, only the block list is kept. " 2230 "If only a server name or service without its server prefix is given " 2231 "then all the services of that server, or all the services that " 2232 "correspond to the given suffix are ignored or considered.\n" 2233 "\n" 2234 "For example, block=DIS_DNS will skip all the services offered by " 2235 "the DIS_DNS server, while block=SERVICE_LIST will skip all the " 2236 "SERVICE_LIST services offered by any server.\n" 2237 "\n" 2238 "The commands offered by the dataLoger are the following: \n"; 2239 cout << setw(20) << DataLogger::fConfigDay << " : specify the path where to put the nightly files\n"; 2240 cout << setw(20) << DataLogger::fConfigRun << " : specify the path where to put the run files\n"; 2241 cout << setw(20) << DataLogger::fConfigRunNumber << " : specify the run number\n"; 2242 cout << setw(20) << DataLogger::fConfigLog << " : log a particular message\n"; 2243 cout << setw(20) << DataLogger::fTransStart << " : start the nightly logging\n"; 2244 cout << setw(20) << DataLogger::fTransStop << " : stop the nightly logging\n"; 2245 cout << setw(20) << DataLogger::fTransStartRun << " : start the run logging\n"; 2246 cout << setw(20) << DataLogger::fTransStopRun << " : stop the run logging\n"; 2247 cout << setw(20) << DataLogger::fTransReset << " : stop any logging and/or recover from an error state\n"; 2248 cout << setw(20) << DataLogger::fTransWait << " : go to the wait for run number state\n"; 2249 cout << setw(20) << DataLogger::fPrintCommand << " : print the current state of the logger to the shell\n"; 2250 cout << setw(20) << DataLogger::fDebugOnOff << " : turn on or off the debug mode\n"; 2251 cout << setw(20) << DataLogger::fStatsPeriod << " : set the periodicity of the statistics. 0 disable them\n"; 2252 cout << endl; 2252 2253 } 2253 2254
Note:
See TracChangeset
for help on using the changeset viewer.