From 941e8c928aead3f37234199ebca248a0268eb8e1 Mon Sep 17 00:00:00 2001 From: Arafat Abdussalam Date: Tue, 11 Oct 2022 10:14:03 +0100 Subject: [PATCH 1/3] Updated log messages I improved the log message subsection of the documentation by making the page more user friendly --- docs/source/admin/log-messages.md | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/docs/source/admin/log-messages.md b/docs/source/admin/log-messages.md index fd672c6a..31edb683 100644 --- a/docs/source/admin/log-messages.md +++ b/docs/source/admin/log-messages.md @@ -1,22 +1,20 @@ # Interpreting common log messages -When debugging errors and outages, looking at the logs emitted by -JupyterHub is very helpful. This document tries to document some common -log messages, and what they mean. +In this subsection of the documentation, you will get to understand the meaning of common log messages and how to resolve them. When debugging errors and outages, it is very helpful to look at the logs emitted by JupyterHub. ## Failing suspected API request to not-running server ### Example -Your logs might be littered with lines that might look slightly scary +When your screen displays the log message as shown below, you need not to get scared. ``` [W 2022-03-10 17:25:19.774 JupyterHub base:1349] Failing suspected API request to not-running server: /hub/user//api/metrics/v1 ``` -### Most likely cause +### Cause -This likely means is that the user's server has stopped running but they +This likely cause is that the user's server has stopped running but they still have a browser tab open. For example, you might have 3 tabs open, and shut your server down via one. Or you closed your laptop, your server was culled for inactivity, and then you reopen your laptop again! The From 3ee21cc967d8ef91ffbeffd3fc717705aa9e53e8 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 11 Oct 2022 09:17:45 +0000 Subject: [PATCH 2/3] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- docs/source/admin/log-messages.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/admin/log-messages.md b/docs/source/admin/log-messages.md index 31edb683..c2974260 100644 --- a/docs/source/admin/log-messages.md +++ b/docs/source/admin/log-messages.md @@ -1,6 +1,6 @@ # Interpreting common log messages -In this subsection of the documentation, you will get to understand the meaning of common log messages and how to resolve them. When debugging errors and outages, it is very helpful to look at the logs emitted by JupyterHub. +In this subsection of the documentation, you will get to understand the meaning of common log messages and how to resolve them. When debugging errors and outages, it is very helpful to look at the logs emitted by JupyterHub. ## Failing suspected API request to not-running server From 714b5925f68ef9452154828328c54a1537624887 Mon Sep 17 00:00:00 2001 From: Arafat Abdussalam Date: Fri, 14 Oct 2022 02:51:40 -0700 Subject: [PATCH 3/3] Correction of previous commit I made a correction to my previous commit as suggested. I will def try to avoid such mistakes. --- docs/source/admin/log-messages.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/source/admin/log-messages.md b/docs/source/admin/log-messages.md index c2974260..057692b6 100644 --- a/docs/source/admin/log-messages.md +++ b/docs/source/admin/log-messages.md @@ -1,12 +1,12 @@ # Interpreting common log messages -In this subsection of the documentation, you will get to understand the meaning of common log messages and how to resolve them. When debugging errors and outages, it is very helpful to look at the logs emitted by JupyterHub. +When debugging errors and outages, looking at the logs emitted by JupyterHub is very helpful This page documents some common log messages and what they mean. ## Failing suspected API request to not-running server ### Example -When your screen displays the log message as shown below, you need not to get scared. +Your logs might be littered with lines that might look scary ``` [W 2022-03-10 17:25:19.774 JupyterHub base:1349] Failing suspected API request to not-running server: /hub/user//api/metrics/v1 @@ -14,7 +14,7 @@ When your screen displays the log message as shown below, you need not to get sc ### Cause -This likely cause is that the user's server has stopped running but they +This likely means that the user's server has stopped running but they still have a browser tab open. For example, you might have 3 tabs open, and shut your server down via one. Or you closed your laptop, your server was culled for inactivity, and then you reopen your laptop again! The