log file processing