[IMP] change logger to be conform as v7