File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 99try :
1010 import datetime
1111 import json
12+ import logging
1213 import os
1314 import pwd
1415 import re
@@ -242,7 +243,7 @@ def check_and_create_dpu_dirs():
242243
243244def main ():
244245 # Configure logger to log all messages INFO level and higher
245- sonic_logger .set_min_log_priority (sonic_logger . DEFAULT_LOG_LEVEL )
246+ sonic_logger .set_min_log_priority (logging . INFO )
246247
247248 sonic_logger .log_info ("Starting up..." )
248249
Original file line number Diff line number Diff line change 88
99try :
1010 import json
11+ import logging
1112 import os
1213 import pwd
1314 import sys
@@ -88,7 +89,7 @@ def read_reboot_cause_files_and_save_to_db(device='npu'):
8889
8990def main ():
9091 # Configure logger to log all messages INFO level and higher
91- sonic_logger .set_min_log_priority (sonic_logger . DEFAULT_LOG_LEVEL )
92+ sonic_logger .set_min_log_priority (logging . INFO )
9293
9394 sonic_logger .log_info ("Starting up..." )
9495
You can’t perform that action at this time.
0 commit comments