Uploaded image for project: 'SAFe Program'
  1. SAFe Program
  2. SP-2236

Talon DX Logging

Change Owns to Parent OfsSet start and due date...
    XporterXMLWordPrintable

Details

    • Obs Mgt & Controls
    • Hide

      Logging is one of the key tools that supports testing and integration. The logging system needs to support both the minikube development environment and the Mid PSI k8s cluster. Device servers need to provide logs with sufficient information to identify problems as they arise, using a consistent logging mechanism.

      Show
      Logging is one of the key tools that supports testing and integration. The logging system needs to support both the minikube development environment and the Mid PSI k8s cluster. Device servers need to provide logs with sufficient information to identify problems as they arise, using a consistent logging mechanism.
    • Hide
      • A log consumer is added to MCS, and can support both the minikube development environment and the Mid PSI k8s cluster.
      • Talon DX devices are able to send logs to the log consumer in MCS in Mid PSI and development environment.
      • Log messages in Talon DX devices cover more failure scenarios and provide more information. The log format is consistent with those originating from MCS.
      Show
      A log consumer is added to MCS, and can support both the minikube development environment and the Mid PSI k8s cluster. Talon DX devices are able to send logs to the log consumer in MCS in Mid PSI and development environment. Log messages in Talon DX devices cover more failure scenarios and provide more information. The log format is consistent with those originating from MCS.
    • 3
    • 3
    • 8
    • 2.667
    • Team_CIPA
    • Sprint 5
    • Hide
      • The talondxlogconsumer-talondxlogconsumer-001-0 has been added to MCS.
      • Network configurations have been updated to allow talon boards to communicate with the minikube development environment and the Mid-PSI k8s cluster. HPS logs can be sent to the MCS log consumer pod in either environment. Demonstrated during System Demo 17.4 (SPO-2138 KR1).
      • Added macros to prepend file name and line number in log messages from HPS devices. Updated log consumer to format HPS logs to meet the SKA logging standard.
      • Added logging policy and guide for how to use the macros to include file name/line number: https://confluence.skatelescope.org/display/SE/Logging+in+HPS+Tango+Devices
      • Updated default logging level of HPS device servers (except HPS master) from DEBUG to INFO.
      • Updated a subset of HPS device servers to log more INFO messages, and added more try-catch blocks to capture exceptions and log errors.
      Show
      The talondxlogconsumer-talondxlogconsumer-001-0 has been added to MCS. Network configurations have been updated to allow talon boards to communicate with the minikube development environment and the Mid-PSI k8s cluster. HPS logs can be sent to the MCS log consumer pod in either environment. Demonstrated during System Demo 17.4 (SPO-2138 KR1). Added macros to prepend file name and line number in log messages from HPS devices. Updated log consumer to format HPS logs to meet the SKA logging standard. Added logging policy and guide for how to use the macros to include file name/line number: https://confluence.skatelescope.org/display/SE/Logging+in+HPS+Tango+Devices Updated default logging level of HPS device servers (except HPS master) from DEBUG to INFO. Updated a subset of HPS device servers to log more INFO messages, and added more try-catch blocks to capture exceptions and log errors.
    • 17.6
    • Stories Completed, Solution Intent Updated, BDD Testing Passes (no errors), Outcomes Reviewed, Demonstrated, Satisfies Acceptance Criteria, Accepted by FO
    • PI23 - UNCOVERED

    • MID_SUT1 Mid.CBF_SW SYSTEM_DEMO_4 Team_CIPA

    Description

      Includes:

      • Designing and implementing a Talon DX log consumer that runs inside the K8s cluster as part of ska-mid-cbf-mcs.
      • Design/update the log consumer and associated configuration, such that logging is seamlessly supported in minikube development environment and the K8s cluster environment of Mid-PSI.
      • Update Talon DX devices to fully integrate them with the common log management system.
      • Improve the log messages in Talon DX devices to better identify the problems when they happen.
         

      Original description from CIP-608: The purpose of this Enabler story to 1) develop a logging API and library for MC and HPS based SW and 2) define the TDC logging philosophy, i.e., where to log what type of message at what logging levels.

      A single log repository where selected values and the sequence of events of  all components are recorded is required to assist I&T. The developed logging library will eventually encapsulate the Tango logging.

      Note that the logging library and philosophy may be different for MCS and HPS applications.

      Attachments

        Issue Links

          Structure

            Activity

              People

                s.vrcic Vrcic, Sonja
                J.So So, John
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Feature Progress

                  Story Point Burn-up: (100.00%)

                  Feature Estimate: 3.0

                  IssuesStory Points
                  To Do00.0
                  In Progress   00.0
                  Complete622.0
                  Total622.0

                  Dates

                    Created:
                    Updated:
                    Resolved:

                    Structure Helper Panel