[WIP] Add logging for action processor

WIP. Targets #493 (partially).

Do not merge yet!