Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-972

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

XMLWordPrintable

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

      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.

              ehugonne1@redhat.com Emmanuel Hugonnet
              pcyprian_jira Patrik Cyprian (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: