Skip to content

Commit

Permalink
Disable debug logging file
Browse files Browse the repository at this point in the history
Commenting out a debug logging file for server-side logs.
  • Loading branch information
mlhenderson authored Sep 21, 2021
1 parent 9710bef commit 06f6170
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jupyterlab_slurm/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 06f6170

Please sign in to comment.