Explore application logs
yarn logs <scope>
or npm run logs <scope>
yarn logs <scope>
or npm run logs <scope>
Gives simple access to logs from Nginx, Redis, MySQL and ElasticSearch containers and Magento.
Before magento-scripts version 1.4.1 this command will attach logs from chosen service to your terminal so to exit press CTRL + C
. To attach logs use option -f.
Available scopes
mysql
nginx
redis
elasticsearch
magento
Command options
--details
--details
Show extra details provided to logs
--timestamps, -t
--timestamps, -t
Show timestamps
--follow, -f
--follow, -f
Follow log output
--since
--since
Show logs since timestamp (e.g. 2013-01-02T13:23:37Z) or relative (e.g. 42m for 42 minutes)
--until
--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