logging + IllegalState if affix not found