Skip to content
This repository has been archived by the owner on Jan 16, 2023. It is now read-only.
/ pino-mozlog Public archive

🌲 A transport for transforming pino logs into mozlog


Notifications You must be signed in to change notification settings


Repository files navigation


CircleCI npm version

A transport for transforming pino logs into mozlog.


$ npm i pino-mozlog


This transport only reformats the logs into mozlog compatible strings:

$ node your-app.js | pino-mozlog

You can specify the mozlog type:

$ node your-proxy.js | pino-mozlog --type proxy

By default, errors are sent to stderr (not mozlog-compliant though). You can disable this behavior and ignore all errors with --silent:

$ node your-app.js | pino-mozlog --silent


pino-mozlog is released under the Mozilla Public License Version 2.0. See the bundled LICENSE file for details.