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

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 2.0.8.Final
    • None
    • Logging
    • 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

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              ehugonne1@redhat.com Emmanuel Hugonnet
              jperkins-rhn James Perkins
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: