User login

Turn off error reporting to the screen

It is, of course, best practice on any live, production site to not print errors to the screen for everyone to see. That's not the Agaric way.

In Drupal 5, that's done here:

http://example.com/admin/settings/error-reporting

However, as web maintainers we need a way of checking error logs constantly – more frequently than we can do by logging into every site and

We need a module for Drupal to email selected errors to us. (Or rather, to send us all errors that would be printed to the screen, but not notifications that Internet Explorer didn't find a favicon exactly where it wanted it to be.)

An RSS feed of errors from Drupal sites that we could aggregate would be cool too.

Searching for "drupal e-mail error logs" and "drupal error log by RSS" eventually brought me to an old dead issue on the 4.7 Admin RSS module: http://drupal.org/node/128835

And then to the new functionality that everyone's been talking about: a replacement of Drupal's built-in inflexible watchdog core module with a new API and several optional error reporting choices.

Thanks to a successful bounty there is now a patch to put this feature in 5.1. This does have to be applied manually, as the improvements couldn't be made using modules alone.

That is open source free software at work solving problems!

It is, of course, best practice on any live, production site to not print errors to the screen for everyone to see. That's not the Agaric way.

In Drupal 5, that's done here:

http://example.com/admin/settings/error-reporting

However, as web maintainers we need a way of checking error logs constantly – more frequently than we can do by logging into every site and

We need a module for Drupal to email selected errors to us. (Or rather, to send us all errors that would be printed to the screen, but not notifications that Internet Explorer didn't find a favicon exactly where it wanted it to be.)

An RSS feed of errors from Drupal sites that we could aggregate would be cool too.

Searching for "drupal e-mail error logs" and "drupal error log by RSS" eventually brought me to an old dead issue on the 4.7 Admin RSS module: http://drupal.org/node/128835

And then to the new functionality that everyone's been talking about: a replacement of Drupal's built-in inflexible watchdog core module with a new API and several optional error reporting choices.

Thanks to a successful bounty there is now a patch to put this feature in 5.1. This does have to be applied manually, as the improvements couldn't be made using modules alone.

That is open source free software at work solving problems!

Comments

Post new comment

The content of this field is kept private and will not be shown publicly.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.
  • You can use Markdown syntax to format and style the text. Also see Markdown Extra for tables, footnotes, and more.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <img> <blockquote> <small> <h2> <h3> <h4> <h5> <h6> <sub> <sup> <p> <br> <strike> <table> <tr> <td> <thead> <th> <tbody> <tt> <output>
  • Lines and paragraphs break automatically.

More information about formatting options

By submitting this form, you accept the Mollom privacy policy.