add commit log encoding config