[jboss-jira] [JBoss JIRA] (WFCORE-267) CLI prints output twice if using cli client jar
Petr Kremensky (JIRA)
issues at jboss.org
Thu Jan 21 07:06:00 EST 2016
[ https://issues.jboss.org/browse/WFCORE-267?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Petr Kremensky reassigned WFCORE-267:
-------------------------------------
Assignee: Petr Kremensky (was: James Perkins)
> 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: Petr Kremensky
> 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.4.11#64026)
More information about the jboss-jira
mailing list