logging whole hierarchy