We have a "Display a message to the user" action that calls drupal_set_message(). But we don't have a "Write message to the log" action.

It is essentially the same as the "Display a message to the user" action only it calls watchdog:

watchdog($context['type'], $context['message'], array(), $context['severity']);

Files: 
CommentFileSizeAuthor
#4 system-action-watchdog-202032-4.patch4.95 KBcburschka
FAILED: [[SimpleTest]]: [MySQL] 17,524 pass(es), 4 fail(s), and 1,065 exception(es). View
watchdogaction.patch4.95 KBjvandyk
FAILED: [[SimpleTest]]: [MySQL] 17,535 pass(es), 12 fail(s), and 1,065 exception(es). View

Comments

moshe weitzman’s picture

would be nice to sneak this in.

Pancho’s picture

Version: 6.x-dev » 7.x-dev

Moving feature requests to D7 queue. Sorry...

lilou’s picture

Patch still applied to CVS HEAD.

cburschka’s picture

FileSize
4.95 KB
FAILED: [[SimpleTest]]: [MySQL] 17,524 pass(es), 4 fail(s), and 1,065 exception(es). View

Patch *still* applies with massive offset. Rerolling (no credit), also so that testbot will find it.

Status: Needs review » Needs work

The last submitted patch failed testing.

adamarthurryan’s picture

Status: Needs work » Needs review

Status: Needs review » Needs work

The last submitted patch, system-action-watchdog-202032-4.patch, failed testing.