fixing sam log file name