Performance fix commandlog