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

Fix logging for UserEvents::Import #354

Merged
merged 1 commit into from
Nov 28, 2024
Merged

Fix logging for UserEvents::Import #354

merged 1 commit into from
Nov 28, 2024

Conversation

csutter
Copy link
Contributor

@csutter csutter commented Nov 28, 2024

Turns out govuk_app_config overrides the nicely configured default Rails logger that supports tagging with its own basic logger.

This wraps the Rails logger with ActiveSupport::TaggedLogging to ensure we can emit tags for the event type and date.

Turns out `govuk_app_config` overrides the nicely configured default
Rails logger that supports tagging with its own basic logger.

This wraps the Rails logger with `ActiveSupport::TaggedLogging` to
ensure we can emit tags for the event type and date.
@csutter csutter merged commit 144693b into main Nov 28, 2024
8 checks passed
@csutter csutter deleted the user-event-logging branch November 28, 2024 15:05
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