I'll submitting a patch to set watchdog messages according to the pre-defined watchdog severities, and include WATCHDOG_DEBUG option and code as well. I hope this one would help to find most of the issues floating around.

CommentFileSizeAuthor
#2 mailhandler_watchdog_debug.patch4.49 KBilo

Comments

ilo’s picture

Status: Active » Needs review

This patch just provides the functions and settings to save messages to watchdog without impacting seriously in performance. Code must be changed yet to use the mailhandler_watchdog_record() function instead of watchdog() directly.

ilo’s picture

StatusFileSize
new4.49 KB

oh, forgot the patch

Status: Needs review » Needs work

The last submitted patch, mailhandler_watchdog_debug.patch, failed testing.

ilo’s picture

Title: Watchdog messages and debug information » Include Watchdog messages for debug information code.
Status: Needs work » Fixed

Committed as: http://drupal.org/cvs?commit=491798

This patch does only introduce usable code, but the module code must still be changed to make use of it.

The patch also removes the module variables when the module is uninstalled.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.