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

base options defined in "pino" not merged into metadata #29

Open
patelnav opened this issue Aug 30, 2021 · 2 comments
Open

base options defined in "pino" not merged into metadata #29

patelnav opened this issue Aug 30, 2021 · 2 comments

Comments

@patelnav
Copy link
Contributor

Instructions for Vercel specify the "base" options. These are not transmitted to logflare.

@chasers
Copy link
Contributor

chasers commented Aug 31, 2021

Hi Patel!

Make sure they're not returning a null value. Logflare doesn't ingest null key values, and we'll strip them from the payload which is probably what you're seeing. Try setting it up with just a text string there. At one point that worked for me but maybe Vercel changed some env variables.

@patelnav
Copy link
Contributor Author

patelnav commented Sep 1, 2021

Thanks for getting back. The values aren't null, I was able to export logger.child() and essentially get the correct behaviour.

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

No branches or pull requests

2 participants