Add warning-log at get_redundancies-fun