[dna-issues] [JBoss JIRA] Commented: (DNA-581) Alter logging to use categories and message codes

Randall Hauch (JIRA) jira-events at lists.jboss.org
Wed Dec 9 22:06:29 EST 2009


    [ https://jira.jboss.org/jira/browse/DNA-581?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12499166#action_12499166 ] 

Randall Hauch commented on DNA-581:
-----------------------------------

One nice thing about having a resource bundle similar to the localization files is that all of these files could easily be processed to generate message code tables for each locale.  In fact, it wouldn't be too hard to generate them automatically (though that's likely beyond scope at the moment).

> Alter logging to use categories and message codes 
> --------------------------------------------------
>
>                 Key: DNA-581
>                 URL: https://jira.jboss.org/jira/browse/DNA-581
>             Project: DNA
>          Issue Type: Task
>          Components: Common
>    Affects Versions: 0.7
>            Reporter: Randall Hauch
>             Fix For: 1.1
>
>
> Our logging facility should use message codes that can be used to cross-reference more information about the message and possible actions to alter the behavior.  The logging should also use categories rather than just using class names.
> Ideally this can be done such that the only changes are to the logging class and the I18n library, and that all other code remains untouched.  (Though we'll have to record for each subproject the message codes in a file so they're durable and documented.)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the dna-issues mailing list