read data from log
delete all data