Fix commit log when !debug