Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-267

CLI prints output twice if using cli client jar

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 1.0.0.Alpha14
    • 1.0.0.Alpha13
    • CLI
    • None

      If you are using the CLI client jar, 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:

      [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"
          ]
      }
      

              pkremens@redhat.com Petr Kremensky (Inactive)
              ssilvert@redhat.com Stan Silvert
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: