Changeset 13297 for trunk/FACT++


Ignore:
Timestamp:
04/03/12 10:30:10 (13 years ago)
Author:
lyard
Message:
ignore QoS of messages in log file
File:
1 edited

Legend:

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

    r13296 r13297  
    14131413        if (fNightlyLogFile.is_open())
    14141414        {
    1415             MessageImp(fNightlyLogFile).Write(cTime, msg.str().c_str(), fQuality);
     1415            MessageImp(fNightlyLogFile).Write(cTime, msg.str().c_str(), kMessage);//fQuality); Silently ignore QoS in case of messages
    14161416            if (!CheckForOfstreamError(fNightlyLogFile, true))
    14171417                return;
     
    14191419        if (targetRunFile && targetRunFile->is_open())
    14201420        {
    1421             MessageImp(*targetRunFile).Write(cTime, msg.str().c_str(), fQuality);
     1421            MessageImp(*targetRunFile).Write(cTime, msg.str().c_str(),  kMessage);//fQuality);
    14221422            if (!CheckForOfstreamError(*targetRunFile, false))
    14231423                return;
Note: See TracChangeset for help on using the changeset viewer.