logger.js + simulator last changes