diff --git a/resources/logging_handler.py b/resources/logging_handler.py index 6d21c7d12..89e50f42f 100644 --- a/resources/logging_handler.py +++ b/resources/logging_handler.py @@ -93,7 +93,7 @@ class InitializeLoggingSupport: level=logging.NOTSET, format="%(asctime)s - %(filename)s (%(lineno)d): %(message)s", handlers=[ - logging.StreamHandler(), + logging.StreamHandler(stream = sys.stdout), logging.FileHandler(self.log_filepath) if log_to_file is True else logging.NullHandler() ], ) diff --git a/resources/sys_patch/sys_patch.py b/resources/sys_patch/sys_patch.py index 161cee3ee..6fe251afc 100644 --- a/resources/sys_patch/sys_patch.py +++ b/resources/sys_patch/sys_patch.py @@ -666,7 +666,7 @@ class PatchSysVolume: if Path(self.constants.payload_local_binaries_root_path_zip).exists(): logging.info("- Local PatcherSupportPkg resources available, unzipping...") - print("- Unzipping binaries...") + logging.info("- Unzipping binaries...") utilities.process_status(subprocess.run(["ditto", "-V", "-x", "-k", "--sequesterRsrc", "--rsrc", self.constants.payload_local_binaries_root_path_zip, self.constants.payload_path], stdout=subprocess.PIPE, stderr=subprocess.STDOUT)) return True