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

Composite operation on periodic-rotating-file-handler fails

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major 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

      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
      

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

              Created:
              Updated:
              Resolved: