overleaf/develop/bin/logs

10 lines
394 B
Text
Raw Normal View History

#!/usr/bin/env bash
docker-compose logs --follow --tail 10 --no-color "$@" \
| ggrep --line-buffered --invert-match "global.gc" \
| ggrep --line-buffered --invert-match "health.check" \
| ggrep --line-buffered --invert-match "slow event loop" \
| ggrep --line-buffered --invert-match "process.memoryUsage" \
| ggrep --line-buffered --only-matching "\{.*" \
| bunyan --output short