Skip to content

Commit

Permalink
Removing excessive logging from reading local files (#1420)
Browse files Browse the repository at this point in the history
Co-authored-by: Kevin Bates <kbates4@gmail.com>
  • Loading branch information
lresende and kevin-bates committed May 9, 2024
1 parent 375ed54 commit 547f7a2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion jupyter_server/services/contents/fileio.py
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,8 @@ def _get_os_path(self, path):
------
404: if path is outside root
"""
self.log.debug("Reading path from disk: %s", path)
# This statement can cause excessive logging, uncomment if necessary when troubleshooting.
# self.log.debug("Reading path from disk: %s", path)
root = os.path.abspath(self.root_dir) # type:ignore[attr-defined]
# to_os_path is not safe if path starts with a drive, since os.path.join discards first part
if os.path.splitdrive(path)[0]:
Expand Down

0 comments on commit 547f7a2

Please sign in to comment.