Adding outputfile option to log system