How to view Recent Log Messages in Drupal 7

One of the features that is built into Drupal 7 is various reports. One of the reports in Drupal 7 that you may find handy is the recent log messages. The recent log messages report contains various events that have occured within your Drupal site that have been logged. These may include actions taken by the cron, content changes, system messages, and much more. Accessing the recent log messages report is done through your Drupal admin dashboard. Since the log file may be quite large you may want to filter the results to find specific log messages. 

  1. Log into the Drupal admin dashboard
  2. Go to Reports
  3. Click on Recent Log Messages
    drupal_log_1

 

Filtering the Logs

One of the features you may find useful, since your log file may be quite large, is the ability to filter the log file by the type of log entry. You’ll need to follow the steps above, then finish by performing the steps below. You will be able to filter them by Type (access denied, cron, mail, etc), Severity (emergency, critical, notice, etc) or both.

  1. Click “Filter log messages
  2. Select the “Type“and/or “Severity” of the logs you want to include in the filter
    drupal_log_2
  3. Click “Filter

Now that you have filtered the results of the log file, you should see the Drupal 7 dashboard display something similar to the screen shot below:
log_1

For more step-by-step guides and practical tips, visit our Drupal Education Channel.

Share this Article
Carrie Smaha
Carrie Smaha Senior Manager Marketing Operations

Carrie Smaha is a Senior Marketing Operations leader with over 20 years of experience in digital strategy, web development, and IT project management. She specializes in go-to-market programs and SaaS solutions for WordPress and VPS Hosting, working closely with technical teams and customers to deliver high-performance, scalable platforms. At InMotion Hosting, she drives product marketing initiatives that blend strategic insight with technical depth.

More Articles by Carrie