binary log

modifiy binary log support