Uploaded image for project: 'HAL'
  1. HAL
  2. HAL-821

Can not add property after change of class in custom formatter.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Major Major
    • 2.8.17
    • None
    • None
    • Hide

      1.Run EAP in standalone mode with standalone-full-ha profile
      2.Create XMLFormatter through CLI : /subsystem=logging/custom-formatter=XMLFormatter:add(class=java.util.logging.XMLFormatter, module=org.jboss.logmanager)
      3.In web console change class to org.jboss.logmanager.formatters.PatternFormatter and save
      4.Try to add properties : pattern=%s%E%n ,and save

      Show
      1.Run EAP in standalone mode with standalone-full-ha profile 2.Create XMLFormatter through CLI : /subsystem=logging/custom-formatter=XMLFormatter:add(class=java.util.logging.XMLFormatter, module=org.jboss.logmanager) 3.In web console change class to org.jboss.logmanager.formatters.PatternFormatter and save 4.Try to add properties : pattern=%s%E%n ,and save

      When you create custom formater - XMLFormatter /subsystem=logging/custom-formatter=XMLFormatter:add(class=java.util.logging.XMLFormatter, module=org.jboss.logmanager) and then in web console edit class of formatter to org.jboss.logmanager.formatters.PatternFormatter then save and try to add properties - pattern=%s%E%n. Property is not saved.
      When you create new formatter with org.jboss.logmanager.formatters.PatternFormatter class and then try to add same property, saving is successful.

              rhn-support-hbraun Heiko Braun
              pcyprian_jira Patrik Cyprian (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: