This usage guide explains how to view and use the Logs available with your WPMU DEV  Hosting account.

Visit your hosting dashboard to get started. More on getting started with WPMU DEV hosting can be found here.

Quickly navigate this usage guide from the navigation index in the sidebar.

If you haven’t set up your WPMU DEV hosting account yet, visit the hosting page, where you can explore the features and see pricing packages.

Have Sites on the Quantum Plan?

Note that the Web Application Firewall (WAF), and consequently the WAF logs, are not available for sites on the Quantum plan. See Quantum Plan Restrictions for details.

9.1 Getting Started

Copy chapter anchor to clipboard

The Logs for any WPMU DEV hosted site are located under the Logs tab of that site’s Hosting manager.

View logs for a hoisted site

There are five log types, each with its own tab:

  • PHP Error Log
  • Access Log
  • Slow Log
  • WAF Log
  • Audit Log

The Logs menu allows you to navigate between the available reports.

Types of hosting logs available in the Hub

Use the Production / Staging toggle to switch between Production and Staging logs. Click the Refresh button to view the most up-to-date information. Click the Download button to download the logs you need (see below for details).

Options for hosting logs available in the Hub

Logs show the last 100 entries from the selected log. WPMU DEV stores logs for the past 7-days. You can access all available logs using the download module or view them over SSH/SFTP as described below in the Download section.

9.2.1 Download

Link to chapter 2

Clicking the Download button opens the Export Log Files module, where you can configure a log report using data from the past seven days.

Hosting log download options

Choose the environment– production or staging– for which you want to create a report, and then the logs you wish to include in that report.

Add the email address to which the report should be sent. Multiple email addresses, separated by commas, can be added.

Click Export to gather and export your selected reports or Cancel to close without sending. When the report is complete, a success notice will appear with a download link.

Log download success message

An email containing a download link also will be sent to the included email addresses. Click that link to download the report.

logs-email-download-link

The PHP Error log tracks error messages for wrong syntax or wrong logic.

WPMU DEV PHP error log

Here is a list of PHP Errors tracked in the PHP Error log.

  • E_ERROR – This is a fatal error that is causing scripts to fail
  • E_WARNING – This is a run-time warning that does not cause your scripts to fail
  • E_PARSE – Compile-time parse error
  • E_CORE_ERROR – A fatal error that occurs during installation
  • E_CORE_WARNING – Warnings that occur during the initial startup of PHP
  • E_COMPILE_ERROR – Fatal compile-time error is caused when there is a problem with your script
  • E_USER_ERROR – Error message generated by the user
  • E_USER_WARNING – Warning message generated by the user
  • E_USER_NOTICE – Notice message generated by the user
  • E_STRICT – Run-time notice
  • E_RECOVERABLE_ERROR – A a potentially dangerous fatal error that can be caught and fixed

If you are not familiar with PHP errors or need help resolving issues on your site, contact our 24/7 live support.

PHP Error Log Rotation

The PHP Error log rotates if the log file size exceeds 10MB, the previous entries are archived and the latest entries are displayed in the hub.

Access via SSH

Use the following file location to search the PHP Error log files via SSH
~/site/logs/php_errors.log

The access log is a list of requests for individual files people or bots have requested from your website. This log includes:

  • IP address
  • Date and time
  • Content requested
  • Browser and version performing a request

WPMU DEV access log

Access Log Rotation

The Access log rotates every 7 days and the previous entries are deleted.

Access via SSH

Use the following file location to search the Access log files via SSH
~/site/logs/access.log

The Slow Log tracks queries that exceed a predefined time limit making it easy to find inefficient or time-consuming queries. For WPMU DEV hosting the predefined time is 30 seconds.

The log flags the date, time, and script filename.

WPMU DEV slow log

Slow Log Rotation

The Slow log rotates if the log file size exceeds 10MB, the previous entries are archived and the latest entries are displayed in the hub.

Access via SSH

Use the following file location to search the Slow log files via SSH
~/site/logs/php_slow.log

Web Application Firewall (WAF) logs are available if the WAF is activated, which can be accomplished under the tools tab.

When active, the WPMU DEV WAF has a custom set of rules that sits before traffic hits your WordPress site to help monitor and filter out attacks and malicious traffic.

The WAF Log includes:

  • Date and Time of flag
  • IP address
  • Requested file
  • Details about the matched rule – In this section, you can click the Tools > Web Application Firewall link to pop open the WAF Firewall settings. There, you can add your IP address to the IP Allowlist field or disable the rule by pasting the rule ID in the Disabled Rule Ids field.

For more information about configuring your WAF, check our Web Application Firewall (WAF) documentation.

WPMU DEV WAF log details

WAF Log Rotation

The WAF log rotates if the log file size exceeds 10MB, the previous entries are archived and the latest entries are displayed in the hub.

Access via SSH

Use the following file location to search the WAF log files via SSH
~/site/logs/waf.log

The Audit Log is a list of every action or change made to your website hosting.

This includes a note with the action and the user that performed the action.

WPMU DEV audit log

If you still have questions or need assistance after reading this document, please don’t hesitate to contact our support superheroes using the available options under the Support tab in your Hub or via the Support tab in your WPMU DEV Dashboard.

Link to getting support