Skip to content

Instantly share code, notes, and snippets.

@Tam
Created July 5, 2021 11:58
Show Gist options
  • Save Tam/c049db284318f2a19c64c98e26e421fe to your computer and use it in GitHub Desktop.
Save Tam/c049db284318f2a19c64c98e26e421fe to your computer and use it in GitHub Desktop.
Will follow the logs of your PGSQL container while filtering out the guff
$ docker logs -fn 10 my_container_name 2>&1 | grep -v -e "] LOG:" -e "] DETAIL:" -e "] STATEMENT:"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment