Closed Siecje closed 6 years ago
I want to set the log level for JupyterHub.
There doesn't seem to be a way to set the log level of the sudo spawner mediator.
In my jupyterhub_config.py I have
jupyterhub_config.py
c.JupyterHub.log_level = 'WARN' c.ConfigurableHTTPProxy.command = ['configurable-http-proxy', '--log-level=WARN'] c.Spawner.cmd = ['jupyterhub-singleuser', '--log-level=WARN']
I have stdout and stderr going to syslog. I still see debug messages from jupyterhub mediator.
stdout
stderr
Feb 13 15:57:59 box kern.debug jupyterhub[1220]: [I 180213 15:57:22 mediator:89] Spawning /boot/tp/python3/bin/sudospawner-singleuser --port=54907 '--notebook-dir="/boot/dd/jupyterhub/notebooks/cody2"' [I 2018-02-13 15:57:22.748 SingleUserNotebookApp singleuser:365] Starting jupyterhub-singleuser server version 0.8.1 [I 2018-02-13 15:57:22.752 SingleUserNotebookApp notebookapp:1585] Serving notebooks from local directory: /boot/dd/jupyterhub/notebooks/cody2 [I 2018-02-13 15:57:22.752 SingleUserNotebookApp notebookapp:
I want to set the log level for JupyterHub.
There doesn't seem to be a way to set the log level of the sudo spawner mediator.
In my
jupyterhub_config.py
I haveI have
stdout
andstderr
going to syslog. I still see debug messages from jupyterhub mediator.