Skip to content

Configure and rotate logs#138

Closed
steventux wants to merge 4 commits into
mainfrom
DTOSS-13124-rotate-logs
Closed

Configure and rotate logs#138
steventux wants to merge 4 commits into
mainfrom
DTOSS-13124-rotate-logs

Conversation

@steventux

@steventux steventux commented Jun 16, 2026

Copy link
Copy Markdown
Contributor

Description

Logs for deployed gateways are configured at OS level by Powershell.
Python provides log file rotation per process. We should use that instead.

Jira link

https://nhsd-jira.digital.nhs.uk/browse/DTOSS-13124

Review notes

I've preserved the same log file names and paths.

Review checklist

  • Check database queries are correctly scoped to current_provider

@steventux steventux changed the title Dtoss 13124 rotate logs Configure and rotate logs Jun 16, 2026
Use a default format and logging level for all loggers.
Log to file with rotation and retention rules.
Log to console as before
@steventux steventux force-pushed the DTOSS-13124-rotate-logs branch from a8540a0 to 3384f1c Compare June 16, 2026 10:08
@steventux steventux marked this pull request as draft June 16, 2026 15:26
@steventux

Copy link
Copy Markdown
Contributor Author

Closing in favour of #140

@steventux steventux closed this Jun 17, 2026
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.

1 participant