use the inputfile ame as logfile name