open log file read only