Skip to content

Better message severity#378

Open
rrivera747 wants to merge 6 commits intodevelopfrom
rrivera/betterMessageSeverity
Open

Better message severity#378
rrivera747 wants to merge 6 commits intodevelopfrom
rrivera/betterMessageSeverity

Conversation

@rrivera747
Copy link
Contributor

No description provided.

@rrivera747 rrivera747 requested a review from Copilot March 18, 2026 23:18
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adjusts logging severity/verbosity across several subsystems and expands handling of “default” sentinel strings in configuration values (supporting both DEFAULT and Default) to reduce noisy warnings and improve compatibility with mixed-case defaults.

Changes:

  • Introduces TableViewColumnInfo::DATATYPE_STRING_ALT_DEFAULT ("Default") and updates multiple default checks to treat both "DEFAULT" and "Default" equivalently.
  • Downgrades/retunes several log statements from WARN/DEBUG to TRACE (and adjusts debug verbosity in a few hot paths).
  • Refines Remote Gateway behavior: validates URL format before UDP send, improves broadcast timeout messaging, and conditionally remaps Abort -> Stop for “DoNotHalt” remote gateways.

Reviewed changes

Copilot reviewed 18 out of 18 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
otsdaq/WebUsersUtilities/WebUsers.cc Retunes system-message debug output to trace-level verbosity.
otsdaq/TablePlugins/DesktopIconTableImpl.cc Uses getValueWithDefault for permissions/folderPath to avoid manual "DEFAULT" handling.
otsdaq/TablePlugins/ARTDAQTableBase/ARTDAQTableBase.cc Treats "Default" like "DEFAULT" when interpreting subsystem destinations/names.
otsdaq/TableCore/TableViewColumnInfo.h Adds DATATYPE_STRING_ALT_DEFAULT declaration.
otsdaq/TableCore/TableViewColumnInfo.cc Defines "Default" alt-default and updates bitmap “map-to-strings” default handling.
otsdaq/TableCore/TableView.cc Retunes log severity (notably in getColStatus) and reduces group-membership debug verbosity.
otsdaq/GatewaySupervisor/GatewaySupervisor.cc Improves FSM/status edge handling, remote gateway URL validation, broadcast timeout messaging, and per-remote command adjustments.
otsdaq/FiniteStateMachine/RunControlStateMachine.cc Reuses FiniteStateMachine constants for Initial/Configure names.
otsdaq/FiniteStateMachine/FiniteStateMachine.h Adds INITIAL_STATE_NAME and CONFIGURE_TRANSITION_NAME constants.
otsdaq/FiniteStateMachine/FiniteStateMachine.cc Reduces severity for a known “Configure from Initial” missing-transition-name case.
otsdaq/FECore/FEVInterfacesManager.cc Removes duplicate configure logging and accepts "Default" in multidim FE macro parsing.
otsdaq/FECore/FEVInterface.h Adds FEVInterface::DEFAULT sentinel for FE macro default args.
otsdaq/FECore/FEVInterface.cc Defines FEVInterface::DEFAULT (currently mapped to "Default").
otsdaq/CoreSupervisors/FESupervisor.cc Uses getValueWithDefault for metric preamble (removes manual "DEFAULT" conversion).
otsdaq/CoreSupervisors/ConfigurationSupervisorBase.cc Treats "Default" like "DEFAULT" for icon linked-app handling.
otsdaq/ConfigurationInterface/ConfigurationTree.icc Treats "Default" like "DEFAULT" when decoding bitmap default values.
otsdaq/ConfigurationInterface/ConfigurationTree.cc Treats "Default" like "DEFAULT" in bitmap/default detection logic.
otsdaq/ConfigurationInterface/ConfigurationManager.cc Retunes verbosity during FHICL recursive init and gates view->print() behind a debug test.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@rrivera747 rrivera747 requested a review from eflumerf March 19, 2026 17:17
Copy link
Contributor

@eflumerf eflumerf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This doesn't do anything to help my hatred of CoutMacros...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: 📋 Triage

Development

Successfully merging this pull request may close these issues.

4 participants