Ignore:
Timestamp:
Mar 30, 2011, 3:59:18 PM (10 years ago)
Author:
tbretz
Message:
Slight modification to logging output, by default now the output of unsuccessfull propagation via the dim service is suppressed.
File:
1 edited

Legend:

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

    r10183 r10274  
    3636MessageDimTX::MessageDimTX(const std::string &name, std::ostream &out)
    3737: DimService((name + "/MESSAGE").c_str(), const_cast<char*>("")),
    38 MessageImp(out)
     38MessageImp(out), fDebug(false)
    3939{
    4040    // This is a message which will never arrive because
    4141    // the time to establish a client-sever connection is
    4242    // too short.
    43     Message("MessageDim service started.");
     43    Message("MessageDimTX started.");
    4444}
    4545
     
    5050MessageDimTX::~MessageDimTX()
    5151{
    52     Message("MessageDim service shutting down..");
     52    Message("MessageDimTX shutting down..");
    5353}
    5454
     
    7272    const int rc = updateService();
    7373
    74     if (rc==0)
    75         Out() << " !! " << t.GetAsStr() << ": Sending failed!" << endl;
     74    if (rc==0 && fDebug)
     75        Out() << " !! " << t.GetAsStr() << " - Sending failed!" << endl;
    7676
    7777    return rc;
Note: See TracChangeset for help on using the changeset viewer.