LOGGER.error("An error while creating the log file: \n"+e.getStackTrace());
LOGGER.error("An error while creating the log file: ",e);
}finally{
logFileFlag=true;
LOGGER.info("Byon SSH logs are saved at: "+logFile);
LOGGER.info("Byon SSH logs are saved at: {}",logFile);
}
}
}
...
...
@@ -82,8 +82,7 @@ public class ByonAgentAutomation {
scriptURL=DEBIAN_SCRIPT;
break;
default:
LOGGER.error("The Operating System \""+os+"\" does not support automated configuration,"+
" the installation of ProActive node agent should be done manually");
LOGGER.error("The Operating System \"{}\" does not support automated configuration, the installation of ProActive node agent should be done manually",os);
thrownewIllegalArgumentException("The OS does not support automated configuration");