Explore application logs

yarn logs <scope> or npm run logs <scope>

Gives simple access to logs from PHP, Nginx, SSL-Terminator, Varnish, Redis, MariaDB and ElasticSearch containers and Magento.

Available scopes

  • mariadb

  • nginx

  • ssl-terminator

  • redis

  • elasticsearch

  • magento

  • php

  • varnish

If you are using OpenSearch, the scope will remain elasticsearch.

Command options

--details

Show extra details provided to logs

--timestamps, -t

Show timestamps

--follow, -f

Follow log output

--since

Show logs since timestamp (e.g. 2013-01-02T13:23:37Z) or relative (e.g. 42m for 42 minutes)

--until

Show logs before a timestamp (e.g. 2013-01-02T13:23:37Z) or relative (e.g. 42m for 42 minutes)

Usage example:

Last updated

Was this helpful?