Add documentation to logging on where to find installer logs

Also send bootstrap & installer logs to same file.
This commit is contained in:
yuvipanda
2018-07-29 12:53:04 -07:00
parent 44df8906cb
commit 94354b8e64
2 changed files with 11 additions and 1 deletions

View File

@@ -26,7 +26,7 @@ def main():
logger = logging.getLogger(__name__)
os.makedirs(install_prefix, exist_ok=True)
file_logger = logging.FileHandler(os.path.join(install_prefix, 'bootstrap.log'))
file_logger = logging.FileHandler(os.path.join(install_prefix, 'installer.log'))
file_logger.setFormatter(logging.Formatter('%(asctime)s %(message)s'))
logger.addHandler(file_logger)