Feature #22956

Welcome message and output compilation date and time to trace and the message facility

Added by Iker de Icaza Astiz over 1 year ago. Updated over 1 year ago.

Additional Functionality
Target version:
Start date:
Due date:
% Done:


Estimated time:


Print out to the message facility and elsewhere a statement of the version of the product.

For developing and debugging is useful to have a message displaying at what time the code was last compiled.

Something along the lines:

const char* const COMPILED = DATE " @ " TIME;
TLOG(TLVL_INFO) << " ------------------------- "
<< "\n Compiled: " << COMPILED << "\n"
<< " ------------------------- "<< TLOG_ENDL;
buildinfo_ss.png (192 KB) buildinfo_ss.png Eric Flumerfelt, 11/05/2019 01:30 PM

Associated revisions

Revision 820b8041 (diff)
Added by Eric Flumerfelt over 1 year ago

Add TLOG to BuildInfo_module to explicitly state the package build info
as it is being stored in the output data file. Issue #22956


#1 Updated by Eric Flumerfelt over 1 year ago

  • Assignee set to Eric Flumerfelt
  • Status changed from New to Rejected

This message is already part of artdaq, see

However, in DAQInterface's usual order of initialization, the MessageViewer is not yet present and running when this message is sent. It is, however, logged to the TRACE buffer and process log files.

#2 Updated by Iker de Icaza Astiz over 1 year ago

Thanks for pointing that out I'll look into using that feature ourselves.

However I still feel this a rather standard message and useful way of being sure that you are running code that you just compiled. What about repeating this message or moving it such that it also appear at the Message Facility?

#3 Updated by Eric Flumerfelt over 1 year ago

  • Status changed from Rejected to Resolved

On artdaq:feature/22956_BuildInfo_TRACEBuildInfo, I have added output of the package versions and build timestamps to BuildInfo_module. These are debug messages, but will appear in the Message Viewer with appropriate filtering.

#4 Updated by Eric Flumerfelt over 1 year ago

Image of new messages in Message Viewer:

#5 Updated by Iker de Icaza Astiz over 1 year ago

Fair enough. Thanks Eric.

Also available in: Atom PDF