Changeset 18465
- Timestamp:
- 04/21/16 09:31:16 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/datalogger.cc
r18345 r18465 1513 1513 msg << sub.server << serviceName; 1514 1514 1515 1516 //in case of non messages message (i.e. binary data written to logs) 1517 //we override the quality before writing to .log, otherwise it will wrongly decorate the log entry 1518 //because fQuality is really the system state in some cases. 1519 //so save a backup of the original value before writing to fits 1520 int backup_quality = fQuality; 1521 1515 1522 //fix the quality of non message "messages" 1516 1523 if (!isMessage) … … 1534 1541 return; 1535 1542 } 1543 1544 //in case we have overriden the fQuality before writing to log, restore the original value before writing to FITS 1545 if (!isMessage) 1546 fQuality = backup_quality; 1536 1547 1537 1548 // sub.lastReceivedEvent = cTime;
Note:
See TracChangeset
for help on using the changeset viewer.