Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

windows 下 启动sandbox无日志无异常信息 #342

Closed
zhenjia001 opened this issue Sep 3, 2021 · 1 comment
Closed

windows 下 启动sandbox无日志无异常信息 #342

zhenjia001 opened this issue Sep 3, 2021 · 1 comment

Comments

@zhenjia001
Copy link

打包后,手工执行
java -Xbootclasspath/a:C:\Java\jdk1.8.0_231\lib\tools.jar -Xms128M -Xmx128M -Xnoclassgc -ea -jar sandbox-core.jar 35988 sandbox-agent.jar "home=D:\sandbox;server.ip=127.0.0.1;server.port=3356"
启动无任何日志,url访问返回404
最终定位缺少cfg目录
需要修改LogbackUtils.init,如果没有目录抛出异常并且打印日志,判断logbackCfgFilePath变量

@oldmanpushcart
Copy link
Collaborator

最终你解决了这个问题了么?
日志在目标jvm的默认日志中

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants