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

chore(deps): Use logging solution from devx-logs #368

Merged
merged 1 commit into from
Oct 16, 2023
Merged

Conversation

akash1810
Copy link
Member

@akash1810 akash1810 commented Oct 13, 2023

guardian/devx-logs#32 should be merged first, to ensure log lines have the correct markers in Central ELK.

What does this change?

Replaces the logging container with the one from devx-logs.

Why?

The devx-logs solution is more "official", and with this change we can archive https://github.com/guardian/hackday-firelens.

How has it been verified?

#369 tests guardian/devx-logs#32. Once deployed to CODE, the logs in Central ELK look like this:

Before

image

After

image

The devx-logs solution is more "official"...
@akash1810 akash1810 requested review from a team as code owners October 13, 2023 18:25
@@ -29,7 +29,7 @@ const cloudqueryImage = ContainerImage.fromRegistry(
);

const firelensImage = ContainerImage.fromRegistry(
'ghcr.io/guardian/hackday-firelens:main',
'ghcr.io/guardian/devx-logs:main',
Copy link
Member

Choose a reason for hiding this comment

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

Not for this PR, but perhaps in future we could consider using a specific version of devx-logs instead of always using main? We'd have issues if we ever needed to release a breaking version of devx-logs!

@akash1810 akash1810 merged commit ef0c05b into main Oct 16, 2023
1 check passed
@akash1810 akash1810 deleted the aa/devx-logs branch October 16, 2023 08:48
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