Skip to content

Instantly share code, notes, and snippets.

View nilswx's full-sized avatar
🧮

Nils 🧮 nilswx

🧮
View GitHub Profile
@nilswx
nilswx / heroku-log-pino-pretty.sh
Last active April 23, 2020 10:24 — forked from abrkn/heroku-log-pino-pretty.sh
Print Heroku logs with pino-pretty (with timestamps, colorized)
heroku logs -a YOUR_APP_NAME -t | sed 's/[^{]*//' | npx pino-pretty --translateTime --colorize
heroku logs -a YOUR_APP_NAME -t | sed 's/[^{]*//' | npx pino-pretty -t -c