removing log file and changing the order for port