Cache name of logfile for future use.