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']);

Support from Acquia helps fund testing for Drupal Acquia logo

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

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.