Logflare / pino-logflare

🌲 send pino logs to Logflare
MIT License
123 stars 20 forks source link

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

Open patelnav opened 3 years ago

patelnav commented 3 years ago

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 commented 3 years ago

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

patelnav commented 3 years ago

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