better logging
attributes contain id and text for status and type