Project

General

Profile

Feature #25230

Better art process log file locations

Added by Eric Flumerfelt about 2 months ago. Updated about 2 months ago.

Status:
Closed
Priority:
Normal
Category:
Needed Enhancements
Target version:
Start date:
11/20/2020
Due date:
% Done:

0%

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

Description

Right now, all art processes log into the $DAQINTERFACE_LOG_DIR/art directory, and it can be very hard to determine which art process created which file.

This issue contains branches which mitigate this issue by updating the art MessageFacility configurations to send the art process log files to the same directory as their parent application's.

History

#1 Updated by Eric Flumerfelt about 2 months ago

  • Assignee set to Eric Flumerfelt
  • Status changed from New to Resolved
  • Category set to Needed Enhancements

Implemented on
artdaq-core:feature/25230_ConfigureMessageFacility_AcceptExtraFileNameString
artdaq:feature/25230_SMEM_ArtProcessLogToParentDirectory

#2 Updated by Eric Flumerfelt about 2 months ago

Example after change:

[eflumerf@ironvirt7 artdaq-mrb-base]$ ls -l daqlogs/*
daqlogs/boardreader:
total 8
lrwxrwxrwx 1 eflumerf eflumerf 127 Nov 20 10:41 run1-component01.log -> /home/eflumerf/Desktop/artdaq-mrb-base/daqlogs/component01-ironvirt7-10101/component01-ironvirt7-10101-20201120104047-45694.log
lrwxrwxrwx 1 eflumerf eflumerf 127 Nov 20 10:41 run1-component02.log -> /home/eflumerf/Desktop/artdaq-mrb-base/daqlogs/component02-ironvirt7-10100/component02-ironvirt7-10100-20201120104047-45693.log

daqlogs/component01-ironvirt7-10101:
total 12
-rw-rw-r-- 1 eflumerf eflumerf 10468 Nov 20 10:44 component01-ironvirt7-10101-20201120104047-45694.log

daqlogs/component02-ironvirt7-10100:
total 12
-rw-rw-r-- 1 eflumerf eflumerf 10469 Nov 20 10:44 component02-ironvirt7-10100-20201120104047-45693.log

daqlogs/datalogger:
total 4
lrwxrwxrwx 1 eflumerf eflumerf 127 Nov 20 10:41 run1-DataLogger1.log -> /home/eflumerf/Desktop/artdaq-mrb-base/daqlogs/DataLogger1-ironvirt7-10104/DataLogger1-ironvirt7-10104-20201120104047-45697.log

daqlogs/DataLogger1-ironvirt7-10104:
total 936
-rw-rw-r-- 1 eflumerf eflumerf  13683 Nov 20 10:44 DataLogger1-ironvirt7-10104-20201120104047-45697.log
-rw-rw-r-- 1 eflumerf eflumerf 940586 Nov 20 10:44 DataLogger1-ironvirt7-10104-art-20201120104107-57478.log

daqlogs/dispatcher:
total 4
lrwxrwxrwx 1 eflumerf eflumerf 127 Nov 20 10:41 run1-Dispatcher1.log -> /home/eflumerf/Desktop/artdaq-mrb-base/daqlogs/Dispatcher1-ironvirt7-10105/Dispatcher1-ironvirt7-10105-20201120104047-45698.log

daqlogs/Dispatcher1-ironvirt7-10105:
total 1784
-rw-rw-r-- 1 eflumerf eflumerf  14836 Nov 20 10:44 Dispatcher1-ironvirt7-10105-20201120104047-45698.log
-rw-rw-r-- 1 eflumerf eflumerf 912173 Nov 20 10:44 Dispatcher1-ironvirt7-10105-art-20201120104115-61787.log
-rw-rw-r-- 1 eflumerf eflumerf 895691 Nov 20 10:44 Dispatcher1-ironvirt7-10105-art-20201120104119-62559.log

daqlogs/eventbuilder:
total 8
lrwxrwxrwx 1 eflumerf eflumerf 131 Nov 20 10:41 run1-EventBuilder1.log -> /home/eflumerf/Desktop/artdaq-mrb-base/daqlogs/EventBuilder1-ironvirt7-10102/EventBuilder1-ironvirt7-10102-20201120104047-45695.log
lrwxrwxrwx 1 eflumerf eflumerf 131 Nov 20 10:41 run1-EventBuilder2.log -> /home/eflumerf/Desktop/artdaq-mrb-base/daqlogs/EventBuilder2-ironvirt7-10103/EventBuilder2-ironvirt7-10103-20201120104047-45696.log

daqlogs/EventBuilder1-ironvirt7-10102:
total 872
-rw-rw-r-- 1 eflumerf eflumerf  12676 Nov 20 10:44 EventBuilder1-ironvirt7-10102-20201120104047-45695.log
-rw-rw-r-- 1 eflumerf eflumerf 872461 Nov 20 10:44 EventBuilder1-ironvirt7-10102-art-20201120104108-57501.log

daqlogs/EventBuilder2-ironvirt7-10103:
total 872
-rw-rw-r-- 1 eflumerf eflumerf  12674 Nov 20 10:44 EventBuilder2-ironvirt7-10103-20201120104047-45696.log
-rw-rw-r-- 1 eflumerf eflumerf 873301 Nov 20 10:44 EventBuilder2-ironvirt7-10103-art-20201120104108-57503.log

daqlogs/metrics:
total 12
drwxrwxr-x 2 eflumerf eflumerf 4096 Nov 20 10:41 aggregator
drwxrwxr-x 2 eflumerf eflumerf 4096 Nov 20 10:41 boardreader
drwxrwxr-x 2 eflumerf eflumerf 4096 Nov 20 10:41 eventbuilder

daqlogs/pmt:
total 0

daqlogs/routingmanager:
total 0

#3 Updated by Ron Rechenmacher about 2 months ago

  • Status changed from Resolved to Reviewed

I ran demo (quick-mrb-start.sh with --develop --debug -e19 -s96) and saw that the new filenames as described (above) were generated (using the 2 branches associated with this issue).
Additionally, empty directories:

daqlogs/DataLogger1_art1
daqlogs/EventBuilder1_art1

art process log files are under their artdaq process directories:
/home/ron/work/artdaqPrj/demo1-develop
ron@mu2edaq13 :^) ls daqlogs -R | grep -B3 'art[^di]'
daqlogs/DataLogger1-mu2edaq13-14104:
total 2908
-rw-rw-r-- 1 ron 1627018 Nov 21 14:59 DataLogger1-mu2edaq13-14104-20201121145512-186401.log
-rw-rw-r-- 1 ron 1346826 Nov 21 14:58 DataLogger1-mu2edaq13-14104-art-20201121145530-195719.log
--
daqlogs/EventBuilder1-mu2edaq13-14102:
total 2992
-rw-rw-r-- 1 ron 1729873 Nov 21 14:59 EventBuilder1-mu2edaq13-14102-20201121145512-186399.log
-rw-rw-r-- 1 ron 1329277 Nov 21 14:58 EventBuilder1-mu2edaq13-14102-art-20201121145530-195739.log
--
daqlogs/EventBuilder2-mu2edaq13-14103:
total 3000
-rw-rw-r-- 1 ron 1729786 Nov 21 14:59 EventBuilder2-mu2edaq13-14103-20201121145512-186400.log
-rw-rw-r-- 1 ron 1336156 Nov 21 14:58 EventBuilder2-mu2edaq13-14103-art-20201121145530-195738.log
--2020-11-21_15:03:13--

#4 Updated by Eric Flumerfelt about 2 months ago

  • Target version set to artdaq v3_09_03
  • Status changed from Reviewed to Closed
  • Co-Assignees Ron Rechenmacher added

Also available in: Atom PDF