Project

General

Profile

Feature #25081

minor adjustment TRACE/TLOG lvls for new trace version with added non-debug levels

Added by Ron Rechenmacher about 2 months ago. Updated about 1 month ago.

Status:
Closed
Priority:
Normal
Category:
-
Target version:
Start date:
10/15/2020
Due date:
% Done:

0%

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

Description

artdaq and trace and message facility use non-debug levels: error, warning and info. Message facility has other
"levels" (which they actually call severities). Other systems have 6 or 7 non-debug levels. DUNE has 5. It would
have been nice if TRACE had more non-debug levels... enough to "map" to the 5 DUNE levels. A new version of TRACE will
have more levels (i.e. 7 non-debug levels) that basically match syslogd levels (which also match levels used in the kernel).
To allow a seamless transistion to a new version of TRACE (with more levels) some current low debug levels should be
shifted up (out of the new non-debug level) space. A quick analysis of the code via:

findsource | xargs egrep -l 'TRACE\([0-7],|TLOG\([3-7]\)'

indicates:
artdaq_demo - 3 files
artdaq - 14 files
artdaq_core - 1 file
artdaq_utilities - 1 file

History

#1 Updated by Ron Rechenmacher about 2 months ago

  • Tracker changed from Bug to Feature

#2 Updated by Ron Rechenmacher about 2 months ago

  • Description updated (diff)

#3 Updated by Ron Rechenmacher about 2 months ago

  • Description updated (diff)

#4 Updated by Eric Flumerfelt about 2 months ago

  • Assignee set to Ron Rechenmacher
  • Status changed from New to Resolved
  • Co-Assignees Eric Flumerfelt added

artdaq_core reviewed by code inspection (1 TRACE call changed)

#5 Updated by Eric Flumerfelt about 2 months ago

artdaq_demo reviewed by code inspection (only TRACE calls' levels changed)

#6 Updated by Eric Flumerfelt about 2 months ago

artdaq_utilities reviewed by code inspection (6 TRACE calls had level changes)

#7 Updated by Eric Flumerfelt about 2 months ago

  • Status changed from Resolved to Reviewed

artdaq reviewed by code review and using the commander_test to validate changes to do_trace_get.

#8 Updated by Eric Flumerfelt about 1 month ago

  • Target version set to artdaq v3_09_02
  • Status changed from Reviewed to Closed

Also available in: Atom PDF