Prefer the vhost title to the servername to name logfile

Also fix the default log format param being passed through to the vhost template.