Parameterise the log file a little.