Changes to be tested in Technical Run 2
- Add a custom debug level ATR-25937
It mimics the ERS_DEBUG from ers library and it's managed by APLoggerStatus
class. The log level is passed by -l
or --loglevel
(string: [INFO, DEBUG]) binary arguments for prescaler and rulechecker apps. Additionally, there is an option to turn on and off the debug by option -d
or --debug
(bool).
This way we can turn on and off the debug level by changing the OKS configuration, for example: https://gitlab.cern.ch/atlas-tdaq-oks/p1/tdaq-10-00-00/-/blob/118419107cf476cdd7f3422d68f633bb064ac1cb/daq/segments/AutoPrescaler/AutoPrescaler.data.xml#L118
<obj class="Binary" id="RuleCheckerApp">
<attr name="BinaryName" type="string" val="RuleCheckerRCApp"/>
...
<attr name="DefaultParameters" type="string" val="--debug True"/>
...
</obj>
- Revisit the verbosity and move the messages to the debug level
- Add the readout of the L1CT scheduled key and the last AP History key before changing the CTP key to avoid a clash of requests ATR-26300
Tagging @mark