Skip to content

Commit 99bf697

Browse files
committed
lf_webpage.py : Rename --save_api to --enable_api_logging
Signed-off-by: Sidartha-CT <neelapu.sidartha@candelatech.com>
1 parent 30f334d commit 99bf697

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

py-scripts/lf_webpage.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2853,12 +2853,12 @@ def main():
28532853
optional.add_argument("--test_priority", default="", help="dut model for kpi.csv, test-priority is arbitrary number")
28542854
optional.add_argument("--test_id", default="lf_webpage", help="test-id for kpi.csv, script or test name")
28552855
optional.add_argument('--csv_outfile', help="--csv_outfile <Output file for csv data>", default="")
2856-
optional.add_argument('--save_api', help="save json_get/json_post/json_put/json_delete calls to a lightweight csv log file",
2856+
optional.add_argument('--enable_api_logging', help="save json_get/json_post/json_put/json_delete calls to a lightweight csv log file",
28572857
action="store_true", default=False)
2858-
optional.add_argument('--api_log_file_name', help="path to the api log csv file used when --save_api is set (default: ~/lf_api_calls.csv)",
2858+
optional.add_argument('--api_log_file_name', help="path to the api log csv file used when --enable_api_logging is set (default: ~/lf_api_calls.csv)",
28592859
default=None)
28602860
optional.add_argument('--log_monitor_api_calls', help="also record API calls made during the runtime-CSV monitor loop "
2861-
"(off by default to keep --save_api's log focused on setup/teardown calls)",
2861+
"(off by default to keep --enable_api_logging's log focused on setup/teardown calls)",
28622862
action="store_true", default=False)
28632863
# ARGS for webGUI
28642864
required.add_argument('--dowebgui', help="If true will execute script for webgui", default=False) # FOR WEBGUI
@@ -2960,7 +2960,7 @@ def main():
29602960
print(help_summary)
29612961
exit(0)
29622962

2963-
api_logger.configure_api_call_logging(enabled=args.save_api, log_filename=args.api_log_file_name)
2963+
api_logger.configure_api_call_logging(enabled=args.enable_api_logging, log_filename=args.api_log_file_name)
29642964

29652965
args.bands.sort()
29662966

0 commit comments

Comments
 (0)