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

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

StatusFileSize
new4.95 KB

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.

Status: Needs work » Closed (outdated)

Automatically closed because Drupal 7 security and bugfix support has ended as of 5 January 2025. If the issue verifiably applies to later versions, please reopen with details and update the version.