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