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

Setting Pino config enabled: false, still sends logs to logflare #31

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

Setting Pino config enabled: false, still sends logs to logflare #31

patelnav opened this issue Aug 31, 2021 · 2 comments

Comments

@patelnav
Copy link
Contributor

patelnav commented Aug 31, 2021

Using the instructions for VERCEL, and setting enabled: false in the pino options still causes logs to flow to logflare

const logger = pino({
    browser: {
        transmit: {
            level: "info",
            send: send,
        }
    },
   enabled: false,
}, stream);
@chasers
Copy link
Contributor

chasers commented Aug 31, 2021

What's the goal here? Just send client side logs?

@patelnav
Copy link
Contributor Author

patelnav commented Sep 1, 2021

Idea was to switch it on and off based on prod/preview/dev

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