mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-02 19:58:03 +00:00
sta_connect2.py : moved the args.debug prior to the lf_logger_config_json
as json config will take presidence Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
This commit is contained in:
committed by
shivam
parent
17254d65a6
commit
e97052f46c
@@ -904,13 +904,16 @@ CLI Example for kpi.csv, variable tx/rx rates, and pdu size:
|
||||
|
||||
# set up logger
|
||||
logger_config = lf_logger_config.lf_logger_config()
|
||||
|
||||
if args.debug:
|
||||
logger_config.set_level("debug")
|
||||
|
||||
# lf_logger_config_json will take presidence to changing debug levels
|
||||
if args.lf_logger_config_json:
|
||||
# logger_config.lf_logger_config_json = "lf_logger_config.json"
|
||||
logger_config.lf_logger_config_json = args.lf_logger_config_json
|
||||
logger_config.load_lf_logger_config()
|
||||
|
||||
if args.debug:
|
||||
logger_config.set_level("debug")
|
||||
|
||||
# for kpi.csv generation
|
||||
local_lf_report_dir = args.local_lf_report_dir
|
||||
|
||||
Reference in New Issue
Block a user