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>
connectionUrl
(or u
) must contain the postgres url string.table
(or t
) must contain the table name. Default to logs
.column
(or c
) must contain the name of the JSONB column where you want to store log entries.Licensed under MIT