Skip to content

VED-956 Add information to logs for ITOC#1051

Merged
dlzhry2nhs merged 1 commit intoVED-956-Audit-Table-Updatefrom
VED-956-add-itoc-logs
Dec 8, 2025
Merged

VED-956 Add information to logs for ITOC#1051
dlzhry2nhs merged 1 commit intoVED-956-Audit-Table-Updatefrom
VED-956-add-itoc-logs

Conversation

@dlzhry2nhs
Copy link
Copy Markdown
Contributor

@dlzhry2nhs dlzhry2nhs commented Dec 8, 2025

Summary

  • Routine Change

Add any other relevant notes or explanations here. Remove this line if you have nothing to add.

Reviews Required

  • Dev

Review Checklist

ℹ️ This section is to be filled in by the reviewer.

  • I have reviewed the changes in this PR and they fill all of the acceptance criteria of the ticket.
  • If there were infrastructure, operational, or build changes, I have made sure there is sufficient evidence that the changes will work.
  • If there were changes that are outside of the regular release processes e.g. account infrastructure to setup, manual setup for external API integrations, secrets to set, then I have checked that the developer has flagged this to the Tech Lead as release steps.
  • I have checked that no Personal Identifiable Data (PID) is logged as part of the changes.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Dec 8, 2025

This branch is working on a ticket in the NHS England VED JIRA Project. Here's a handy link to the ticket:

VED-956

"function_name": f"{PREFIX}_{func.__name__}",
"date_time": str(datetime.now()),
}
start_time = time.time()
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can check on master but I have returned this to how it used to be.

We use this value in generate_and_send_logs to calculate the time taken for the wrapped function to complete. Setting this value to some time during the execution of the function rather than actually at the beginning would have broken this functionality.

@dlzhry2nhs dlzhry2nhs marked this pull request as ready for review December 8, 2025 15:50
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented Dec 8, 2025

@dlzhry2nhs dlzhry2nhs temporarily deployed to internal-dev-sandbox December 8, 2025 16:06 — with GitHub Actions Inactive
@dlzhry2nhs dlzhry2nhs temporarily deployed to internal-dev-sandbox December 8, 2025 16:07 — with GitHub Actions Inactive
@dlzhry2nhs dlzhry2nhs merged commit 08e1404 into VED-956-Audit-Table-Update Dec 8, 2025
20 of 21 checks passed
@dlzhry2nhs dlzhry2nhs deleted the VED-956-add-itoc-logs branch December 8, 2025 16:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants