Add logfile parameter.

The hidden logfile parameter allows specifying the name of the logfile.