Hi All, I am trying to capture the file details whenever a file is uploaded to JupyterHub Notebook for audit purposes. Is there an ability in JupyterHub to capture the user who uploaded the file, file type, file size and file name details?
Each user’s singleuser server will have its own log stream. The location of the logs depends on your JupyterHub configuration, e.g. if you’re using DockerSpawner the logs will be handled by Docker, and will include the container name, which by default is derived from the username.
You could potentially extend jupyter-server to log more information about files.
I am able to capture the upload logs at directory level for example "upload_dir = ‘/mnt/user/test_folder’. How can I capture logs at root i.e., ‘/mnt/user’?