added debug level for filtering messages by its rank