[jboss-jira] [JBoss JIRA] (WFCORE-267) CLI prints output twice if using cli client jar
Stan Silvert (JIRA)
issues at jboss.org
Wed Nov 19 14:47:39 EST 2014
Stan Silvert created WFCORE-267:
-----------------------------------
Summary: 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 at 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}
--
This message was sent by Atlassian JIRA
(v6.3.8#6338)
More information about the jboss-jira
mailing list