Open vladislav-sevostyanov opened 2 years ago
I have set the option "log: true" but I get nothing in stdout.
// my logger code const pino = require('pino'); const { createWriteStream } = require('pino-http-send'); const stream = createWriteStream({ url: process.env.LOGS_DESTINATION_URL, log: true, silent: false, timeout: 0, }); const logger = pino(stream); module.exports = logger;
True, it actually doesnt work. Btw, you can easily do it with pino multi stream actually
I have set the option "log: true" but I get nothing in stdout.