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

CLI prints output twice if using cli client jar

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 1.0.0.Alpha14
    • 1.0.0.Alpha13
    • CLI
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: