Skip to content

Commit

Permalink
Change to audit logger
Browse files Browse the repository at this point in the history
  • Loading branch information
colinbowen committed Nov 28, 2024
1 parent c3aa99e commit 441b0ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/main/routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -760,7 +760,7 @@ def download_record(record_id: uuid.UUID):
as_attachment=True,
download_name=download_filename,
)
current_app.app_logger.info(
current_app.audit_logger.info(
json.dumps({"user_id": session["user_id"], "file": key})
)
return response
Expand Down

0 comments on commit 441b0ca

Please sign in to comment.