Skip to content

Commit 547f7a2

Browse files
Removing excessive logging from reading local files (#1420)
Co-authored-by: Kevin Bates <[email protected]>
1 parent 375ed54 commit 547f7a2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

jupyter_server/services/contents/fileio.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,8 @@ def _get_os_path(self, path):
264264
------
265265
404: if path is outside root
266266
"""
267-
self.log.debug("Reading path from disk: %s", path)
267+
# This statement can cause excessive logging, uncomment if necessary when troubleshooting.
268+
# self.log.debug("Reading path from disk: %s", path)
268269
root = os.path.abspath(self.root_dir) # type:ignore[attr-defined]
269270
# to_os_path is not safe if path starts with a drive, since os.path.join discards first part
270271
if os.path.splitdrive(path)[0]:

0 commit comments

Comments
 (0)