Changeset 14373
- Timestamp:
- 08/14/12 12:42:44 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/datalogger.cc
r14364 r14373 1222 1222 { 1223 1223 //write text header 1224 header << sub.server << "_" << sub.service << " " << fQuality << " "; 1224 string serviceName = (sub.service == "MESSAGE") ? "" : "_"+sub.service; 1225 header << sub.server << serviceName << " " << fQuality << " "; 1225 1226 header << evt.GetTime() << " "; 1226 1227 … … 1295 1296 } 1296 1297 ostringstream msg; 1297 msg << sub.server << "_" << sub.service << ": " << strings[0]; 1298 string serviceName = (sub.service == "MESSAGE") ? "" : "_"+sub.service; 1299 msg << sub.server << serviceName << ": " << strings[0]; 1298 1300 1299 1301 if (fNightlyLogFile.is_open())
Note:
See TracChangeset
for help on using the changeset viewer.