I’m looking for a solution that would mail me errors from /admin/reports/dblog site in Drupal 6.
The best would be a daily summary.
Is there any module or a trigger+action solution for that?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Try http://drupal.org/project/logging_alerts
It will enable to you to send watchdog (i.e. dblog) messages to any arbitrary email addresses meeting your severity criteria.
If you want to get summary mails (and not an individual email)… I don’t know of a quick and easy method. However you could use http://drupal.org/project/filelog that will log all events to a file. Using a cron command that runs perhaps once a day you could mail this file to yourself
See http://www.shelldorado.com/articles/mailattachments.html to mail files via the command line (this command line command would be called via cron, of course).