add the log message when hear the commit message