Log action.