Added an option to specify a logfile for memcached