Changeset 13083 for trunk


Ignore:
Timestamp:
03/13/12 15:07:40 (13 years ago)
Author:
lyard
Message:
added more verbosity
File:
1 edited

Legend:

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

    r12954 r13083  
    460460void DataLogger::AddService(const string& server, const string& service, const string&, bool isCmd)
    461461{
     462    Info("Got request to add service: "+server+"/"+service);
    462463    //dataLogger does not subscribe to commands
    463464    if (isCmd)
     
    483484    if ((server == "FAD_CONTROL") && (service == "START_RUN"))
    484485        fRunNumberService = list[service].dimInfo.get();
    485     if (fDebugIsOn)
    486         Debug("Added subscription to " + server + "/" + service);
     486    Info("Added subscription to " + server + "/" + service);
    487487}
    488488// --------------------------------------------------------------------------
     
    495495void DataLogger::RemoveService(string server, string service, bool isCmd)
    496496{
     497    Info("Got request for removing service: "+server+"/"+service);
    497498    if (fDestructing)//this function is called by the super class, after the destructor has deleted its own subscriptions
    498499        return;
     
    521522        fRunNumberService = NULL;
    522523
    523     if (fDebugIsOn)
    524     {
    525         Debug("Removed subscription to " + server + "/" + service);
    526     }
     524    Info("Removed subscription to " + server + "/" + service);
    527525}
    528526// --------------------------------------------------------------------------
     
    533531void DataLogger::RemoveAllServices(const string& server)
    534532{
     533    Info("Got request for removing all services from: "+server);
    535534    if (fServiceSubscriptions.find(server)==fServiceSubscriptions.end())
    536535    {
     
    10291028        return;
    10301029    }
     1030    cout.precision(20);
     1031    cout << "Orig timestamp: " << Time(I->getTimestamp(), I->getTimestampMillisecs()*1000).Mjd() << endl;
    10311032    // FIXME: Here we have to check if we have received the
    10321033    //        service with the run-number.
Note: See TracChangeset for help on using the changeset viewer.