improve logging (potential relation) and add cli option to static main of relation identifier