bug 1034: add crbinlog and binlog, unit test binlog done