From 04a68c359fab54ae459dc4aa777511705a20da5f Mon Sep 17 00:00:00 2001 From: Wonjae Park Date: Mon, 23 Oct 2023 17:59:17 +0900 Subject: [PATCH] Remove unwanted log Signed-off-by: Wonjae Park --- src/fosslight_android/android_binary_analysis.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/fosslight_android/android_binary_analysis.py b/src/fosslight_android/android_binary_analysis.py index c56e431..ec2c444 100755 --- a/src/fosslight_android/android_binary_analysis.py +++ b/src/fosslight_android/android_binary_analysis.py @@ -771,7 +771,6 @@ def main(): result_txt_file = os.path.join(python_script_dir, f"fosslight_binary_android_{now}.txt") log_txt_file = os.path.join(python_script_dir, f"fosslight_log_android_{now}.txt") result_excel_file = os.path.join(python_script_dir, f"fosslight_report_android_{now}.xlsx") - logger, result_log = init_log(log_txt_file, True, logging.INFO, logging.DEBUG, PKG_NAME) remove_list_file = "" parser = argparse.ArgumentParser(description='FOSSLight Android', prog='fosslight_android', add_help=False) @@ -814,6 +813,9 @@ def main(): find_empty_path = True if args.ignore: # Disable the function to automatically convert OSS names based on AOSP. auto_fill_oss_name = False + + logger, result_log = init_log(log_txt_file, True, logging.INFO, logging.DEBUG, PKG_NAME) + if args.packaging: check_packaging_files(args.packaging) return