完善log和报警；出错时打印最近的10条event；调试iobinlog和sqlbinlog