Skip to content

Useful commands

Checking the logs

  • abra app ls for finding the right app
  • abra app logs <domain> for showing the logs

You can also get the logs for just one service:

  • abra app ps <domain> for listing the services
  • abra app logs <domain> <service> for showing the logs for that service

If you want to check the logs for a specfic interval, you can switch to the corresponding Docker context, which abra uses behind the scenes:

  1. docker context ls for finding the context, which should match your domain name
  2. docker context use <context name> for switching to the context
  3. docker ps for finding the container ID of the service
  4. docker logs <container ID> --since <timestamp> --until <timestamp> for showing the logs of the interval between both timestamps (e.g. "2013-01-02T13:23:37Z")
  5. docker context use default if you want to switch back to your default context