A log file is usually a flat text file that contains a list of events that happend when a program was running, with one event on each line. Often times errors are recorded in log files. An example would be:
Program loaded configuration file
Program encountered error, error details: ....