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

CLI prints output twice if using cli client jar

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 1.0.0.Alpha13
    • Fix Version/s: 1.0.0.Alpha14
    • Component/s: CLI
    • Labels:
      None

      Description

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

        Attachments

          Activity

            People

            Assignee:
            pkremens Petr Kremensky (Inactive)
            Reporter:
            ssilvert Stan Silvert
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: