Skip to content

Add process id to log-files

Walter Lampl requested to merge wlampl/athena:printPID into 24.0

During some recent debugging efforts, I realized that having the athena process id in the log-file would be really useful (so that one can run pstack).

This MR adds a printout of the pid to the run() method of ComponentAccumulator.

PS: I realize it would be better to add the pid to the alrady-existing log-lines:

===================================================================================================================================
                                                   Welcome to ApplicationMgr (GaudiCoreSvc v38r0)
                                          running on pcaz004 on Wed Aug 28 11:24:39 2024
====================================================================================================================================

but those are printed by gaudi and right now is the wrong moment to get a gaudi-update into the production branch.

Merge request reports