Have DAQInterface save the launch_attempt file as the "pmt" log file
Right now, DAQInterface saves the stdout and stderr output from all artdaq processes (and more importantly, their art children) to a local file /tmp/launch_attempt_<USER>_partition<PARTITION>. This file could easily be moved to <logdir>/pmt/launch_attempt_<HOST>_<USER>_partition<PARTITION>_<TIMESTAMP>, and then tracked as the "process_manager_logfile" by DAQInterface. (Symlinking to run numbers could also happen.)
#1 Updated by Eric Flumerfelt 3 months ago
- Assignee set to Eric Flumerfelt
- Status changed from New to Resolved
Implemented on artdaq-utilities-daqinterface:feature/25301_LaunchAttemptFileInLogdir
Tested with run_demo that a logfile is created and symlinked. Also tested multiple runs: symlink is created for each run pointing to the same file.
Not yet tested with multiple hosts or multiple partitions in use.
#2 Updated by Eric Flumerfelt 3 months ago
My branch also assumes that the log_directory has "same path" access on all hosts. We may want to have it ssh to each host in the set (in case the path is not shared via NFS or there is NFS load-balancing of log directories going on (ala NOvA))
Fixed with daqinterface|b4fc0f2