[jboss-jira] [JBoss JIRA] (WFCORE-267) CLI prints output twice if using cli client jar

James Perkins (JIRA) issues at jboss.org
Thu Dec 4 15:47:39 EST 2014


     [ https://issues.jboss.org/browse/WFCORE-267?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

James Perkins reassigned WFCORE-267:
------------------------------------

    Assignee: James Perkins  (was: Stan Silvert)


> 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: James Perkins
>             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