add logs in engine constructor