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

logger: provide new flag to enable Vercel log drain for API routes #218

Closed

Conversation

SollyzDev
Copy link
Collaborator

@SollyzDev SollyzDev commented Jul 30, 2024

This PR introduces a new flag AXIOM_ENABLE_VERCEL_LOGDRAIN to enable usage of Vercel's log drain for API routes. This could be considered a breaking change since now users will have to opt-in for this behavior by setting the new environment variable.

Closes #217

Copy link

vercel bot commented Jul 30, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
next-axiom-example ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 6, 2024 4:54pm

Copy link
Contributor

@ImLunaHey ImLunaHey left a comment

Choose a reason for hiding this comment

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

LGTM

@SollyzDev
Copy link
Collaborator Author

closing this as we have decided to drop the support for the log drain utilization. #222 will take place.

@SollyzDev SollyzDev closed this Aug 7, 2024
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.

create a flag to enblae/disable Vercel log drain usage for API routes
2 participants