log_summary function

Generate a dataframe from the log file.