mirror of
https://github.com/dbgate/dbgate
synced 2024-11-07 12:13:57 +00:00
logger info
This commit is contained in:
parent
61d93fb9d9
commit
9f66c5e28a
@ -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.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user