Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add custom serializers to improve app logging #2659

Merged
merged 5 commits into from
Jan 27, 2025
Merged

Conversation

Cruikshanks
Copy link
Member

We've completed a number of changes to our logging in the time we have been on the project.

Generally, we 'go to the logs' when an issue has been reported in production, and we need to figure out what has happened.

Therefore, we constantly balance, ensuring we have all the necessary information while excluding noise.

We recently made a change to water-abstraction-system to reduce the noise in our logs via custom serializers (check it out for more details).

This change makes the same change to the logging in this app.

We've completed a [number of changes to our logging](https://github.com/DEFRA/water-abstraction-team/issues?q=is%3Aissue%20state%3Aclosed%20log) in the time we have been on the project.

Generally, we 'go to the logs' when an issue has been reported in `production`, and we need to figure out what has happened.

Therefore, we constantly balance, ensuring we have all the necessary information while excluding noise.

We recently [made a change to water-abstraction-system](DEFRA/water-abstraction-system#1655) to reduce the noise in our logs via custom serializers (check it out for more details).

This change makes the same change to the logging in this app.
@Cruikshanks Cruikshanks added the housekeeping Refactoring, tidying up or other work which supports the project label Jan 27, 2025
@Cruikshanks Cruikshanks self-assigned this Jan 27, 2025
@Cruikshanks Cruikshanks marked this pull request as ready for review January 27, 2025 15:24
@Cruikshanks Cruikshanks merged commit 6614156 into main Jan 27, 2025
5 checks passed
@Cruikshanks Cruikshanks deleted the reduce-log-detail branch January 27, 2025 16:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
housekeeping Refactoring, tidying up or other work which supports the project
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants