When working in Drupal 7, error messages collect in error logs. You may want to clear out, or flush, these logs from time to time. Follow the instructions below to learn how to flush your error logs in the Drupal admin interface.
Flushing error logs in Drupal 7
- Log into your Drupal 7 Admin panel.
- Once inside the admin area, locate the Reports menu option in the top menu bar and click it.
- You are now on the Reports List screen. Find and click on the Recent Log Messages option.
- From here you will see a couple of options for dealing with Error Logs, click on the Clear Log Messages link and the section will expand. You will a gray Clear Log Messages button. Click that to clear the error message log.
- You will be met with a success message once the error logs have been flushed.