clean logs when reseting database