change logging so that id and name of each action is recorded instead of name