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 started
Program loaded configuration file
Program encountered error, error details: ....
Program exited