New Feature: Live Updates for Runtime Logs

Runtime Logs now supports live updates; new log entries are automatically fetched for you!

An animation showing live updates for Runtime Logs.

We announced the availability of Runtime Logs two weeks ago. Using the vip logs VIP-CLI command, you can get a view into recent application logs generated by your WordPress and Node applications running on WordPress VIP.

With our latest release (VIP-CLI 2.8.1), you can now pass the --follow param to trigger live updates:

$ vip @123.production logs --follow

Sometimes referred to as “log tailing” or “follow mode”, this feature will automatically fetch new log entries from your applications at a set interval (currently every 30 seconds) without having to re-run the command multiple times.

Note: You’ll need VIP-CLI 2.8.1 or higher to use the new --follow param (how to update VIP-CLI).

You can also learn more about the flag in our Runtime Logs documentation.

Next up, we’ll be adding Runtime Logs to the VIP Dashboard, so you can choose how you want to access your application logs.

We’d love to know what you think including how you hope to use this feature (and what we’re missing); please get in touch!

New Feature: Runtime Logs

You can now access application logs via the new vip logs command!

A screenshot of logs from an example application fetched using the vip logs command

Runtime Logs provides an aggregated, near real-time view into recent application logs generated by your WordPress and Node applications running on VIP Cloud. These logs can provide insights into the current health of an application and can be helpful for debugging issues.

For WordPress applications, you’ll get visibility into PHP Errors including fatals and warnings as well as any logs that are output using the error_log() function. For Node applications, you’ll get all output sent to stdout or stderr (e.g. via console class).

Our documentation for Runtime Logs has details about this new VIP-CLI command including options for alternate output formats and special considerations. Please note that you’ll need VIP-CLI 2.7.0 or higher to use this.

In an upcoming release, we’ll be adding support for “tailing”, which will auto-fetch new log entries. We’re also exploring support for filtering, additional log types, and access to logs via the VIP Dashboard.

We’d love to know what you think including how you hope to use this feature (or what we’re missing); please get in touch!