Skip to content

Commit 04a68c3

Browse files
Remove unwanted log
Signed-off-by: Wonjae Park <[email protected]>
1 parent b28f7a2 commit 04a68c3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/fosslight_android/android_binary_analysis.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -771,7 +771,6 @@ def main():
771771
result_txt_file = os.path.join(python_script_dir, f"fosslight_binary_android_{now}.txt")
772772
log_txt_file = os.path.join(python_script_dir, f"fosslight_log_android_{now}.txt")
773773
result_excel_file = os.path.join(python_script_dir, f"fosslight_report_android_{now}.xlsx")
774-
logger, result_log = init_log(log_txt_file, True, logging.INFO, logging.DEBUG, PKG_NAME)
775774
remove_list_file = ""
776775

777776
parser = argparse.ArgumentParser(description='FOSSLight Android', prog='fosslight_android', add_help=False)
@@ -814,6 +813,9 @@ def main():
814813
find_empty_path = True
815814
if args.ignore: # Disable the function to automatically convert OSS names based on AOSP.
816815
auto_fill_oss_name = False
816+
817+
logger, result_log = init_log(log_txt_file, True, logging.INFO, logging.DEBUG, PKG_NAME)
818+
817819
if args.packaging:
818820
check_packaging_files(args.packaging)
819821
return

0 commit comments

Comments
 (0)