EasyEngine 4.0.3 with WordPress.com VIP site, (cache) clean and log commands

As the first release for EasyEngine v4 was getting delayed, we decided to move many internal feature requests and some v3 commands to what we labeled as – the v4 Maintenance Release Github project. These releases, over the next month, will cover some small, new features apart from the bugfixes and minor enhancements.

We have already released 4.0.1, 4.0.2 and 4.0.3 – That’s 3 releases in 8 days!

Here are the highlights of each release:

  • 4.0.1 – Improved support for MacOS on EasyEngine.
  • 4.0.2 – Added support for WordPress VIP sites.
  • 4.0.3 – Added site clean and site log command.

VIP Sites

EasyEngine has added support for WordPress VIP sites. 🎉

You can now setup your local VIP GO development environment with just one command.

ee site create example.com --vip

This command will setup VIP site from using vip go skeleton repository and add vip go mu-plugins automatically.

If you have an existing VIP repository, on GitHub, you can pass repo URL to have your repo’s content used.

ee site create example.com [email protected]:rtcamp/vip-go-project

Above command also has a shorthand version where you can pass github-org-name/repo-name directly. This automatically uses SSH based URL.

ee site create example.com --vip=rtcamp/vip-go-project

You can check VIP Go handbook page to know more.

Site Clean and Site Log Commands

clean and log commands from v3 have been added to v4.

ee clean command

clean command has been renamed to site clean, it is used to clear the cache of a site.

The clean command has two flags, which allows you to clear object and page cache of a WordPress site, separately: 

ee site clean example.com --page   # Clean page cache of a site
ee site clean example.com --object # Clean object cache of a site
ee site clean example.com          # Clean both object and page cache of a site

You can explore more about site clean command in our documentation.

ee log

log command is used to view the logs of sites and services.

The v3 command ee log has been renamed to ee log show . We have plans to add more features to log command, that is the reason we shifted to subcommand syntax.

Below are some of the options log command support:

# Commands with same features of v3
ee log show example.com --all    # Displays all logs for a site, including service logs.
ee log show example.com --nginx  # Displays nginx logs for a site.
ee log show example.com --php    # Displays php logs for a site.
ee log show example.com --wp     # Displays wp debug log for a site.
ee log show example.com --access # Displays nginx & php error logs for a site.
ee log show example.com --error  # Displays nginx & php error logs for a site.

# Commands having new features
ee log show example.com --cli    # Displays EasyEngine's logs
ee log show example.com --global # Displays all logs including all sites, all services and cli.
ee log show example.com --n=50   # Shows logs from last number of given lines

You can checkout its documentation for reference.

Update

If you are not using EasyEngine yet, please check install doc to get started.

To update to latest EasyEngine, please run:

# On Linux / custom Mac install
ee cli update

# On Mac
brew update easyengine

If you run into any issues, please use forum to get support.

EasyEngine Release Links: 4.0.1 | 4.0.2 | 4.0.3

Feature Docs Links: vip site | site clean commands | log command

1 response to “EasyEngine 4.0.3 with WordPress.com VIP site, (cache) clean and log commands”

  1. Ahhhh, best you to the blog post yet again :p

    Just randomly tried they command play night after updating Linux packages on my VPS server and was shocked too see it updated to 4.0.3

    I will likely be moving my three big websites over to ee4 this weekend now that I can monitor logs.

    After typing in this commands, do I get an active scrolling list of log entities or is it just the last X number of lines in said log file?