Initialize log file and record() function.
Records download and installation instances.