Created
October 18, 2022 03:18
-
-
Save wwwins/568de8351427b4a270921a0cc32965d3 to your computer and use it in GitHub Desktop.
pretty-printed fastify log output
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# convert unix timestamp to the local timezone | |
tail -f logs/access.log | jq '.time |= (tonumber / 1000 | strflocaltime("%c %Z"))' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment