check for log file format