Community Documentation

Configure error reporting

Last updated April 21, 2012. Created by m1mic on May 7, 2005.
Edited by richardhayward, puregin, sepeck. Log in to edit this page.

Where Drupal, PHP and SQL errors are logged. On a production server it is recommended that errors are only written to the error log. On a test server it can be helpful to write logs to the screen. By default, errors are displayed to the screen. You should change this to 'Write errors only to log' only for your production site.

You can tell Drupal to automatically discard error log entries older than the age you specify. This requires a crontab (example.com/cron.php) to be set up. See step 6 of the install.txt for example of setup.

About this page

Drupal version
Drupal 4.5.x or older, Drupal 4.6.x, Drupal 4.7.x

Archive

Drupal’s online documentation is © 2000-2013 by the individual contributors and can be used in accordance with the Creative Commons License, Attribution-ShareAlike 2.0. PHP code is distributed under the GNU General Public License. Comments on documentation pages are used to improve content and then deleted.
nobody click here