Monitor site or global logs.
SYNOPSIS
ee log show [<site-name>] [--n=<line-count>] [--global] [--cli] [--all] [--nginx] [--php] [--wp] [--access] [--error]
OPTIONS
[<site-name>]
: Name of website. If omitted, EasyEngine uses the site whose folder you’re in.
[--n=<line-count>]
: Start from last number of given lines.
Default: 10
[--global]
: Displays EasyEngine’s own logs and the logs of all sites.
[--cli]
: Displays EasyEngine’s own logs.
[--all]
: Displays all logs of the site: nginx, php, WordPress debug, access and error logs.
[--nginx]
: Displays nginx logs for a site.
[--php]
: Displays php logs for a site.
[--wp]
: Displays wp debug log for a site.
[--access]
: Displays nginx & php access logs for a site.
[--error]
: Displays nginx & php error logs for a site.
EXAMPLES
# Show all logs.
$ ee log show example.com --all
watching logfile example.com/logs/nginx/access.log
watching logfile example.com/logs/nginx/error.log
watching logfile example.com/logs/php/access.log
watching logfile example.com/logs/php/error.log
watching logfile example.com/app/htdocs/wp-content/debug.log
# Show debug log for site.
$ ee log show example.com --wp
watching logfile example.com/app/htdocs/wp-content/debug.log
# Show EasyEngine's own log.
$ ee log show --cli
GLOBAL PARAMETERS
--sites_path=<path>
Absolute path to where all sites will be stored.
--locale=<locale>
Locale for WordPress.
--le-mail=<le-mail>
Mail-id to be used for letsencrypt.
--env=<env>
EasyEngine server environment.
--wp-mail=<wp-mail>
Default Mail-id to be used for WordPress site installation.
--sysctl=<true/false>
Whether to add sysctl config in docker-compose.
--skip-tty=<true/false>
Skip tty allocation for remote command execution.
--custom-compose=<custom-compose file>
Path to custom compose file.
--[no-]color
Whether to colorize the output.
--debug[=<group>]
Show all PHP errors; add verbosity to EE bootstrap.
--quiet
Suppress informational messages.