use last state service instead of last log file