From 06f6170b120c0210eb52c41552b8f530e304ef7e Mon Sep 17 00:00:00 2001 From: Matt Henderson Date: Mon, 20 Sep 2021 23:35:43 -0700 Subject: [PATCH] Disable debug logging file Commenting out a debug logging file for server-side logs. --- jupyterlab_slurm/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jupyterlab_slurm/__init__.py b/jupyterlab_slurm/__init__.py index caa656a..8345b25 100755 --- a/jupyterlab_slurm/__init__.py +++ b/jupyterlab_slurm/__init__.py @@ -36,8 +36,8 @@ def _load_jupyter_server_extension(server_app): web_app.settings.update(slurm_commands.get_paths()) temporary_directory = web_app.settings['temporary_directory'] if 'temporary_directory' in web_app.settings else None - server_app.log.addHandler(logging.FileHandler('/tmp/jupyter_debug')) - server_app.log.setLevel(logging.DEBUG) + #server_app.log.addHandler(logging.FileHandler('/tmp/jupyter_debug')) + #server_app.log.setLevel(logging.DEBUG) # add get_example url setup_handlers(