Error fixed on time reading from log file