mirror of
https://gitee.com/dromara/MaxKey.git
synced 2025-12-08 09:58:56 +08:00
commit
a5c4caf3a1
@ -202,14 +202,14 @@ public class InitializeContext extends HttpServlet {
|
|||||||
}
|
}
|
||||||
_logger.debug("APP_HOME" + " = {}" , PathUtils.getInstance().getAppPath());
|
_logger.debug("APP_HOME" + " = {}" , PathUtils.getInstance().getAppPath());
|
||||||
|
|
||||||
Processor.Type processorType = ArchUtils.getProcessor().getType();
|
Processor processor = ArchUtils.getProcessor();
|
||||||
if (Objects.isNull(processorType)){
|
if (Objects.isNull(processor)){
|
||||||
processorType = Processor.Type.UNKNOWN;
|
processor = new Processor(Processor.Arch.UNKNOWN, Processor.Type.UNKNOWN);
|
||||||
}
|
}
|
||||||
_logger.debug("OS : {}({} {}), version {}",
|
_logger.debug("OS : {}({} {}), version {}",
|
||||||
SystemUtils.OS_NAME,
|
SystemUtils.OS_NAME,
|
||||||
SystemUtils.OS_ARCH,
|
SystemUtils.OS_ARCH,
|
||||||
processorType,
|
processor.getType(),
|
||||||
SystemUtils.OS_VERSION
|
SystemUtils.OS_VERSION
|
||||||
|
|
||||||
);
|
);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user