Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion scripts/determine-reboot-cause
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
try:
import datetime
import json
import logging
import os
import pwd
import re
Expand Down Expand Up @@ -236,7 +237,7 @@ def check_and_create_dpu_dirs():

def main():
# Configure logger to log all messages INFO level and higher
sonic_logger.set_min_log_priority(sonic_logger.DEFAULT_LOG_LEVEL)
sonic_logger.set_min_log_priority(logging.INFO)

sonic_logger.log_info("Starting up...")

Expand Down
3 changes: 2 additions & 1 deletion scripts/process-reboot-cause
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

try:
import json
import logging
import os
import pwd
import sys
Expand Down Expand Up @@ -88,7 +89,7 @@ def read_reboot_cause_files_and_save_to_db(device='npu'):

def main():
# Configure logger to log all messages INFO level and higher
sonic_logger.set_min_log_priority(sonic_logger.DEFAULT_LOG_LEVEL)
sonic_logger.set_min_log_priority(logging.INFO)

sonic_logger.log_info("Starting up...")

Expand Down
Loading