update retools
update log
some bug fix
log use flog