2 Replies Latest reply on Nov 7, 2011 9:16 AM by Alexey Loubyansky

    JBoss7 CLI logging setup

    r1em Newbie

      I would like to setup JBoss7 log setup with the CLI interface (jboss-admin).

      Unfortunatly it fails with an error:

       

      I use this command:

      /profile=default/subsystem=logging/periodic-rotating-file-handler=COA:add(append=false,autoflush=true,encoding="UTF-8",file={path="coa.log", relative-to="/tmp"},formatter="HHmmss",level="INFO",suffix="yyyyMMdd")

      {

          "outcome" => "failed",

          "result" => {"server-groups" => [("main-server-group" => {"master" => {

          "host" => "master",

          "response" => {

              "outcome" => "failed",

              "failure-description" => "Operation handler failed: java.lang.IllegalArgumentException: newValue is null",

              "rolled-back" => true

          }

      }})]},

          "failure-description" => "Operation failed or was rolled back on all servers.",

          "rolled-back" => true

      }

       

      Is this a bug, or am I doing something wrong?