wpe logs get
Description
Section titled “Description”Get the application logs for the WP Engine Headless CLI.
$ wpe logs get [OPTIONS]
Extended Description
Section titled “Extended Description”The wpe logs get
command will print the current account logs that the WP Engine Headless CLI is using to deploy applications.
Options
Section titled “Options”--help, -h Help for get
Examples
Section titled “Examples”Let’s assume the environment ID is bmna3gedlzerwcb4vc04gssl
and the app name is myapp
. Running the following command will print the logs for the environment:
$ wpe logs get -e bmna3gedlzerwcb4vc04gssl -a myapp
The above command will print something similar to the following:
TIMESTAMP SEVERITY MESSAGE2021-01-01T00:00:46Z Info2021-01-01T00:00:46Z Info > myapp@1.0.0 start /app/repo2021-01-01T00:00:46Z Info > next start -p 80802021-01-01T00:00:46Z Info2021-01-01T00:00:47Z Info ready - started server on http://localhost:8080