Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-2413

logger => use-parent-handlers is always true in the management model

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.1.0.CR1
    • 7.1.0.Alpha1
    • Logging
    • None

      Hi James,

      Put this in your standalone.xml:

      <logger category="jacorb" use-parent-handlers="false"/>
      

      You will get this in CLI:

      [standalone@localhost:9999 logger=jacorb] /subsystem=logging/logger=jacorb/:read-resource
      {
          "outcome" => "success",
          "result" => {
              "category" => "jacorb",
              "handlers" => undefined,
              "level" => "INFO",
              "use-parent-handlers" => true
          }
      }
      

      Also, do you know why use-parent-handlers is listed as a read-only field?

              jperkins-rhn James Perkins
              ssilvert@redhat.com Stan Silvert
              Votes:
              1 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: