提交 8b6b967f 编写于 作者: Z ZhaokaiTian
上级 f4b47ac2
......@@ -201,15 +201,15 @@ public class InitializeContext extends HttpServlet {
_logger.trace(key + " = {}" , map.get(key));
}
_logger.debug("APP_HOME" + " = {}" , PathUtils.getInstance().getAppPath());
Processor.Type processorType = ArchUtils.getProcessor().getType();
if (Objects.isNull(processorType)){
processorType = Processor.Type.UNKNOWN;
Processor processor = ArchUtils.getProcessor();
if (Objects.isNull(processor)){
processor = new Processor(Processor.Arch.UNKNOWN, Processor.Type.UNKNOWN);
}
_logger.debug("OS : {}({} {}), version {}",
SystemUtils.OS_NAME,
SystemUtils.OS_ARCH,
processorType,
processor.getType(),
SystemUtils.OS_VERSION
);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册