Project

General

Profile

Support #22688

file metrics data dir -- default for demo?

Added by Ron Rechenmacher 4 months ago. Updated 4 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
06/05/2019
Due date:
% Done:

0%

Estimated time:
Experiment:
-
Co-Assignees:
Duration:

Description

I would like to see the file metrics be more directly associated with a demo instance.
Currently the file spec for the metrics in contained in the the fcl configs. This is probably OK.
The file name should probably be adjusted.
There should be a way to allow the path specified to result in being within the demo root (e.g. under $MRB_TOP or similar).

History

#1 Updated by Eric Flumerfelt 4 months ago

I have made several commits on artdaq-utilities:feature/22688_FileMetric_TimestampInFilename

  1. When uniquify is true, the current UNIX timestamp is added to the file name before the PID
  2. Added parameter "use_logroot_env", which will prepend the directory pointed to by $ARTDAQ_LOG_ROOT to the output file name. If the variable is not defined, /tmp/ is used and a warning is sent to TRACE


Also available in: Atom PDF