Commit 3acbaa37 authored by felix.herrmann's avatar felix.herrmann
Browse files

fix(logging): add file downloader logging info

parent 0eaa2dcb
......@@ -127,6 +127,9 @@ def files_download(request, uuid, df_uuid):
ds = get_object_or_404(DataSet, uuid=uuid)
datafile = DataFile.objects.get(uuid=df_uuid, dataset=ds)
logger.info("datafile.file.path: %s", datafile.file.path, exc_info=1)
logger.info(
"datafile.get_download_file_name(): %s", datafile.get_download_file_name()
)
# check permissions for the dataset if it is of filetype DATA or CONVERTED
if datafile.data_file_type in (
datafile.FILE_TYPE_DATA,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment