2

我在使用 Codehaus Cargo v18 运行测试时遇到问题。虽然 Wildfly 18.0.1 允许我没有日志子系统standalone.xml- 所以我可以将所有日志记录配置放在 logging.properties 中,但当我使用以下命令运行 C​​argo v18 时,它在部署时失败standalone.xml

[INFO] [talledLocalContainer] 30-Jul-2020 - 18:06:05,116 ERROR [org.jboss.as.cli.CommandContext#print] {
[INFO] [talledLocalContainer]     "outcome" => "failed",
[INFO] [talledLocalContainer]     "failure-description" => "WFLYCTL0216: Management resource '[(\"subsystem\" => \"logging\")]' not found",
[INFO] [talledLocalContainer]     "rolled-back" => true
[INFO] [talledLocalContainer] }
[INFO] [talledLocalContainer] {
[INFO] [talledLocalContainer]     "outcome" => "failed",
[INFO] [talledLocalContainer]     "failure-description" => "WFLYCTL0216: Management resource '[(\"subsystem\" => \"logging\")]' not found",
[INFO] [talledLocalContainer]     "rolled-back" => true
[INFO] [talledLocalContainer] }

如何避免设置此类子系统模块并logging.properties直接在 Cargo 中使用?

4

0 回答 0