commit log utils