Lando has a few different log layers to help you diagnose any issues you might be having.
If you have a failed installation, you should be able to find logs in the following locations...
- Windows -
- macOS -
- Linux - Differs per system but check common
If you encounter an error during runtime, check out the runtime logs at...
- macOS/LINUX -
- Windows -
There should be core lando logs called
lando-error.log and a more robust
lando.log. There should also be error and verbose logs associated with each of your applications eg
Run the failing command again in verbose mode. You can pass in
-vvvv to toggle the level of verbosity. You can also edit your global config to set the default console log level.
lando logs -s SOME_SERVICE
See the lando logs command for more information.
# List all my containers docker ps --all # List all lando containers docker ps --filter label=io.lando.container=TRUE --all # List all containers for a particular app docker ps --all | grep appname # Inspect a container docker inspect appname_service_1 # Check out the logs for a container docker logs appname_service_1 # Attach to a container (this is like SSHing) docker exec -i -t appname_service_1 bash