Explore application logs
yarn logs <scope> or npm run logs <scope>
Gives simple access to logs from Nginx, Redis, MySQL and ElasticSearch containers and Magento.
Available scopes
mysqlnginxrediselasticsearchmagento
Command options
--details
Show extra details provided to logs
yarn logs nginx --details # for Yarn
npm run logs nginx -- --details # for NPM--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