[jboss-jira] [JBoss JIRA] (WFCORE-668) Make the INFO logging from deprecated attributes configurable, also improve the message

Brian Stansberry (JIRA) issues at jboss.org
Tue Apr 28 21:52:52 EDT 2015


Brian Stansberry created WFCORE-668:
---------------------------------------

             Summary: Make the INFO logging from deprecated attributes configurable, also improve the message
                 Key: WFCORE-668
                 URL: https://issues.jboss.org/browse/WFCORE-668
             Project: WildFly Core
          Issue Type: Feature Request
          Components: Domain Management
            Reporter: Brian Stansberry
            Assignee: Brian Stansberry
             Fix For: 1.0.0.CR1


The INFO logging that AttributeDefinition generates when a deprecated attribute is used needs to be configurable, i.e. with a boolean flag so a dev can turn it off for attributes where it serves no purpose.

The logging only serves a purpose if an admin can take action to use some alternative config. If an attribute is deprecated only because in some future release it will go away, but there's no replacement now, the logging is just noise.

The log message itself should be improved:

1) Get rid of the ! at the end. It's not that exciting. ;)
2) Include the address of the resource
3) Point the user at the read-resource-description output from which they can learn more about the deprecation.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


More information about the jboss-jira mailing list