Fixed finding position of log data