historyTrace.sh table day event localOutPutFile env