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

would be nice to sneak this in.

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

Moving feature requests to D7 queue. Sorry...

Patch still applied to CVS HEAD.

StatusFileSize
new4.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.

Status:Needs work» Needs review

#4: system-action-watchdog-202032-4.patch queued for re-testing.

Status:Needs review» Needs work

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