diff --git a/bootstrap/bootstrap.py b/bootstrap/bootstrap.py index 52a68c2..324dae9 100644 --- a/bootstrap/bootstrap.py +++ b/bootstrap/bootstrap.py @@ -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) diff --git a/docs/troubleshooting/logs.rst b/docs/troubleshooting/logs.rst index efe49d6..d81d812 100644 --- a/docs/troubleshooting/logs.rst +++ b/docs/troubleshooting/logs.rst @@ -10,6 +10,8 @@ before things went bad, and can help us understand the problem so we can fix it. TLJH collects logs from JupyterHub, Configurable HTTP Proxy, & from each individual user's notebook server. All the logs are accessible via `journalctl `_. +The installer also writes logs to disk, to help with cases where the +installer did not succeed. .. warning:: @@ -17,6 +19,14 @@ user's notebook server. All the logs are accessible via `journalctl