Changeset 10676


Ignore:
Timestamp:
05/12/11 13:44:09 (13 years ago)
Author:
tbretz
Message:
Updated some typos and the layout of the help text.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/dataLogger.cc

    r10675 r10676  
    12471247{
    12481248        Message("-----------------------------------------");
    1249         Message("------DATA LOGGER CURRENT STATE----------");
     1249        Message("------ DATA LOGGER CURRENT STATE --------");
    12501250        Message("-----------------------------------------");
    12511251        //print the path configuration
     
    12721272        str << "Run Number: " << fRunFileName;
    12731273        Message(str.str());
    1274         Message("-----------OPENED FILES------------------");
     1274        Message("----------- OPENED FILES ----------------");
    12751275        //print all the open files.
    12761276        if (fNightlyLogFile.is_open())
     
    13651365        statVar.sizeWritten -= fBaseSizeRun;
    13661366        */
    1367         Message("-----------------STATS-------------------");
     1367        Message("---------------- STATS ------------------");
    13681368        str.str("");
    13691369        str << "Total Size written: " << statVar.sizeWritten << " bytes.";
     
    13781378    else
    13791379        Message("Statistics updates are currently disabled");
    1380         Message("------------DIM SUBSCRIPTIONS------------");
     1380        Message("----------- DIM SUBSCRIPTIONS -----------");
    13811381
    13821382        str.str("");
     
    13911391        }
    13921392        if (fIsBlackList)
    1393                 Message("------------BLOCK LIST-------------------");
     1393                Message("------------- BLOCK LIST ----------------");
    13941394        else
    13951395                if (fGreyList.size() != 0)
    1396                         Message("------------ALLOW LIST-------------------");
     1396                        Message("----------- ALLOW LIST ------------------");
    13971397        for (set<string>::iterator it=fGreyList.begin(); it != fGreyList.end(); it++)
    13981398                Message(*it);
     
    18511851                       
    18521852                        default:
    1853                                 Error("THIS SHOULD NEVER BE REACHED. dataLogger.cc ln 1198.");
     1853                                Fatal("THIS SHOULD NEVER BE REACHED. dataLogger.cc ln 1198.");
    18541854                };
    18551855                //we skip the variable length strings for now (in fits only)
     
    22242224    /* Additional help text which is printed after the configuration
    22252225     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;
    22522253}
    22532254
Note: See TracChangeset for help on using the changeset viewer.