logger info

This commit is contained in:
Jan Prochazka 2023-01-22 12:12:56 +01:00
parent 61d93fb9d9
commit 9f66c5e28a

View File

@ -175,4 +175,8 @@ cd dbgate-plugin-my-new-plugin # this directory is created by wizard, edit, what
yarn plugin # this compiles plugin and copies it into existing DbGate installation yarn plugin # this compiles plugin and copies it into existing DbGate installation
``` ```
After restarting DbGate, you could use your new plugin from DbGate. After restarting DbGate, you could use your new plugin from DbGate.
## Logging
DbGate uses [pino logger](https://github.com/pinojs/pino). So by default, it produces JSON log messages into console and log files. If you want to see formatted logs, please use [pino-pretty](https://github.com/pinojs/pino-pretty) log formatter.