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

Composite operation on periodic-rotating-file-handler fails

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 3.0.0.Beta28
    • None
    • Logging
    • None
    • Hide
      1. Run EAP
      2. Create resource
        /subsystem=logging/periodic-rotating-file-handler=foo:add(file={path=server.log}, suffix=%H%m)
      3. Execute this batch:
        [standalone@localhost:9990 /] batch
        [standalone@localhost:9990 / #] /subsystem=logging/periodic-rotating-file-handler=foo:undefine-attribute(name=formatter)
        [standalone@localhost:9990 / #] /subsystem=logging/periodic-rotating-file-handler=foo:write-attribute(name=named-formatter, value=COLOR-PATTERN)
        [standalone@localhost:9990 / #] run-batch 
        
      Show
      Run EAP Create resource /subsystem=logging/periodic-rotating-file-handler=foo:add(file={path=server.log}, suffix=%H%m) Execute this batch: [standalone@localhost:9990 /] batch [standalone@localhost:9990 / #] /subsystem=logging/periodic-rotating-file-handler=foo:undefine-attribute(name=formatter) [standalone@localhost:9990 / #] /subsystem=logging/periodic-rotating-file-handler=foo:write-attribute(name=named-formatter, value=COLOR-PATTERN) [standalone@localhost:9990 / #] run-batch
    • User Experience

    Description

      When performing composite operation on periodic-rotating-file-handler, it fails with [1] although individual steps passes. This affects Web Console form editing.

      [1]

      [standalone@localhost:9990 / #] run-batch 
      The batch failed with the following error (you are remaining in the batch editing mode to have a chance to correct the error): 
      WFLYCTL0062: Composite operation failed and was rolled back. Steps that failed:
      Step: step-1
      Operation: /subsystem=logging/periodic-rotating-file-handler=foo:undefine-attribute(name=formatter)
      Failure: WFLYCTL0158: Operation handler failed: java.lang.IllegalArgumentException: Formatter "foo" is not found
      

      Attachments

        Issue Links

          Activity

            People

              jperkins-rhn James Perkins
              jperkins-rhn James Perkins
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: