Skip to content

INFO level logs being filtered in reboot cause services #287

@roy-nexthop

Description

@roy-nexthop

determine-reboot-cause and process-reboot-cause set their minimum log priority to sonic_logger.DEFAULT_LOG_LEVEL.

sonic_logger.DEFAULT_LOG_LEVEL is level 21 which will cause INFO logs (20) to be excluded. This seems unintentional based on the comment # Configure logger to log all messages INFO level and higher".

set_min_log_priority should be called with level 20 to log INFO messages and higher.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions