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

remove pino-pretty for compatibility with pkg #309

Closed
wants to merge 1 commit into from

Conversation

alvrs
Copy link
Contributor

@alvrs alvrs commented Oct 2, 2024

To solve a compatibility issue with pkg, see vercel/pkg#1419 (comment). It's still possible to get the pino-pretty effect by running via ./alto | pnpm pino-pretty.

Note: feel free to close, not sure if this should make it into main, just wanted to put it here for reference if someone else runs into the same issue.

@alvrs alvrs marked this pull request as draft October 2, 2024 19:31
@alvrs alvrs changed the title remove pino-pretty remove pino-pretty for compatibility with pkg Oct 2, 2024
@mouseless0x
Copy link
Member

Will close this as don't think we can put this to main, but thanks for pointing this out! :)

@mouseless0x
Copy link
Member

Following up here, pino-pretty is for local use only. In prod, there is a --json flag that will print logs in JSON format which should also solve the incompatibility issue

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