0.0.41 • Published 1 year ago
pino-postgres v0.0.41
Pino transport for Postgres
Install
$ npm install pino-postgres
# or
$ yarn add pino-postgres
Usage
Usage: pino-postgres [options]
Options:
-V, --version output the version number
--connection <connection> postgres connection string
--table <name> table name (default: "logs")
--schema <name> schema name (default: "public")
--column <name> column name (default: "content")
--flush-interval <number> interval at which logs are flushed in ms (default: 5000)
--buffer-size <number> max number of log entries in buffer (default: 1000)
--max-connections <number> max number of connections (default: 3)
--ssl use ssl (default: false)
--debug debug postgres client (default: false)
--pass-through pass logs through (default: false)
--wrap-non-json wrap non-json messages as json (default: false)
-h, --help display help for command
node app.js | pino-postgres --connection postgres://username:password@localhost:5432/database
pino-postgres does not create the necessary database table, make sure the table with jsonb column exists.
Contributing
Contributions, issues and feature requests are welcome!
License
Copyright © 2020 Aldis Ameriks. This project is MIT licensed.
0.0.41
1 year ago
0.0.40
1 year ago
0.0.39
2 years ago
0.0.38
2 years ago
0.0.37
2 years ago
0.0.35
3 years ago
0.0.36
3 years ago
0.0.34
3 years ago
0.0.33
4 years ago
0.0.32
5 years ago
0.0.20
5 years ago
0.0.21
5 years ago
0.0.22
5 years ago
0.0.23
5 years ago
0.0.24
5 years ago
0.0.25
5 years ago
0.0.19
5 years ago
0.0.30
5 years ago
0.0.31
5 years ago
0.0.26
5 years ago
0.0.27
5 years ago
0.0.28
5 years ago
0.0.29
5 years ago
0.0.18
5 years ago
0.0.17
5 years ago
0.0.16
5 years ago
0.0.10
5 years ago
0.0.11
5 years ago
0.0.12
5 years ago
0.0.13
5 years ago
0.0.14
5 years ago
0.0.15
5 years ago
0.0.9
5 years ago
0.0.8
5 years ago
0.0.7
5 years ago
0.0.6
5 years ago
0.0.5
5 years ago
0.0.4
5 years ago
0.0.3
5 years ago
0.0.2
5 years ago
0.0.1
5 years ago