update logger debug to logger warn