Parse logdate from line