fix logging method referring to wrong format