Skip to content

Implement consistent logging across the application #3368

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

Draft
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

conico974
Copy link
Contributor

@conico974 conico974 commented Jun 20, 2025

Introduce a centralized logging mechanism to ensure uniform logging practices throughout the app. Move the logger initialization to a dedicated file and utilize the logger in various components for improved traceability and debugging.

For it to work perfectly in OpenNext we need this opennextjs/opennextjs-aws#914.
Right now the requestId from the middleware will be different from the one in the server function, and no header will be set

Copy link

linear bot commented Jun 20, 2025

Copy link

changeset-bot bot commented Jun 20, 2025

⚠️ No Changeset found

Latest commit: 63a0f28

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copy link

argos-ci bot commented Jun 20, 2025

The latest updates on your projects. Learn more about Argos notifications ↗︎

Build Status Details Updated (UTC)
customers-v1 (Inspect) ✅ No changes detected - Jun 23, 2025, 4:10 PM
customers-v2 (Inspect) ✅ No changes detected - Jun 23, 2025, 4:13 PM
default (Inspect) ⚠️ Changes detected (Review) 1 changed Jun 23, 2025, 4:13 PM
v2-cloudflare (Inspect) ⚠️ Changes detected (Review) 1 changed Jun 23, 2025, 4:15 PM
v2-vercel (Inspect) ⚠️ Changes detected (Review) 1 changed Jun 23, 2025, 4:15 PM

@conico974 conico974 marked this pull request as draft June 23, 2025 13:09
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