Commit f672bc5e by Vedran Karacic Committed by Vedran Karačić

Add Makefile command to print logs of specific container.

parent 25e83599
......@@ -55,6 +55,9 @@ destroy: ## Remove all devstack-related containers, networks, and volumes
logs: ## View logs from containers running in detached mode
docker-compose logs -f
%-logs: ## View the logs of the specified service container
docker-compose logs -f | grep edx.devstack.$*
pull: ## Update Docker images
docker-compose pull
......
......@@ -107,6 +107,13 @@ following:
make logs
To view the logs of a specific service container run ``make <service>-logs``.
For example to access the logs for Ecommerce, you can run:
.. code:: sh
make ecommerce-logs
To reset your environment and start provisioning from scratch, you can run:
.. code:: sh
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment