Skip to content
Snippets Groups Projects

Restructure log location

Merged Ashwin Kumar Karnad requested to merge restructure-log-location into main
1 file
+ 2
2
Compare changes
  • Side-by-side
  • Inline
@@ -153,7 +153,7 @@ def read_metadata_from_logfile(logfile: Union[str, Path]) -> dict:
@@ -153,7 +153,7 @@ def read_metadata_from_logfile(logfile: Union[str, Path]) -> dict:
}
}
def get_installer_log_file_name(mpsd_release: str, cmd: str, script_dir: str) -> str:
def get_installer_log_file_path(mpsd_release: str, cmd: str, script_dir: str) -> str:
"""Get installer log file name."""
"""Get installer log file name."""
# Get machine configs
# Get machine configs
os.environ.get("MPSD_OS", "UNKNOWN_OS")
os.environ.get("MPSD_OS", "UNKNOWN_OS")
@@ -919,7 +919,7 @@ def main():
@@ -919,7 +919,7 @@ def main():
set_up_logging(
set_up_logging(
args.loglevel,
args.loglevel,
get_installer_log_file_name(args.release, args.action, script_dir),
get_installer_log_file_path(args.release, args.action, script_dir),
)
)
# Check the command and run related function
# Check the command and run related function
Loading