logs:core
The logs:core
tails the Docker logs of the core service,
and pipes them into pino-pretty.
Run npm run logs:core
in the root to trigger this script.
Under the hood, this will run:
Terminal
docker logs -n 20 -f core | pino-pretty -i pid,time,name,hostname
Prerequisites
This relies on the pino-pretty NPM package being available.
You can install it globally with:
Terminal
npm install --global pino-pretty