]
RH Bugzilla Integration commented on WFCORE-267:
------------------------------------------------
James Perkins <jperkins(a)redhat.com> changed the Status of [bug
CLI prints output twice if using cli client jar
-----------------------------------------------
Key: WFCORE-267
URL:
https://issues.jboss.org/browse/WFCORE-267
Project: WildFly Core
Issue Type: Bug
Components: CLI
Affects Versions: 1.0.0.Alpha13
Reporter: Stan Silvert
Assignee: Stan Silvert
Fix For: 1.0.0.Alpha14
If you are using the [CLI client
jar|https://developer.jboss.org/wiki/UsingTheCLIRemoteClientJar], all output is printed
twice. This is because JBoss logging is not set up and by default CommandContextImpl is
printing log messages to standard out. The output will look something like this:
{code}
[standalone@localhost:9999 /] :read-children-types
Nov 19, 2014 8:57:19 AM org.jboss.as.cli.impl.CommandContextImpl printLine
INFO: {
"outcome" => "success",
"result" => [
"core-service",
"deployment",
"deployment-overlay",
"extension",
"interface",
"path",
"socket-binding-group",
"subsystem",
"system-property"
]
}
{
"outcome" => "success",
"result" => [
"core-service",
"deployment",
"deployment-overlay",
"extension",
"interface",
"path",
"socket-binding-group",
"subsystem",
"system-property"
]
}
{code}