mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-18 00:56:02 +00:00
logger info
This commit is contained in:
@@ -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.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user