Message 2 Log | drupal.org
Log specified drupal messages instead of showing them
INSTALLATION:
1. Install module in standard way (http://drupal.org/node/70151)
As default module logs all PHP/db error/warning messages for the users instead of showing them.
CUSTOMIZATION:
You may configure different RegEx rules on settings page: admin/settings/msg2log (Read more: http://php.net/manual/en/book.pcre.php)
If you want to change permission who can see the messages or not (go to Permission page)
USAGE:
- hide PHP/MySQL sytax error messages from anonymous/non-admin users (for security reasons)
See: #342128: how I can hide error messages for anonymous users?
- create specified actions when specified message show up
In Example: send fatal errors directly to webmaster e-mail address to fix the errors immediately (Triggers & Actions)
- log all messages to check what other users see and what common problems they have (i.e. with filling the forms)
- Ever wonder how to hide: 'The configuration options have been saved.' or default messages after node saving?
Get rid of not needed messages instead of translating them to empty strings.
- also good for development and testing purposes to log messages from specified modules or with specified rules
- and many more