Added logging for action calls.