remplace println with logger
remplace println with logger