DISCONTINUED
A Pino Transport for PostgreSQL databases.
This package requires at least Node.js version 10.
npm install pino-pg
Store logs to PostgreSQL.
node my-app.js | pino-pg --connectionUrl <your connection string> --table <your logs table> --column <your column table>
- The
connectionUrl
(oru
) must contain the postgres url string. - The
table
(ort
) must contain the table name. Default tologs
. - The
column
(orc
) must contain the name of the JSONB column where you want to store log entries.
Licensed under MIT