Added support for a log file using the ruby Logger class.