[jboss-jira] [JBoss JIRA] (JBLOGGING-98) Ability to annotate @LogMessage as "log once"

David Lloyd (JIRA) issues at jboss.org
Fri Dec 13 10:26:32 EST 2013


    [ https://issues.jboss.org/browse/JBLOGGING-98?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12931162#comment-12931162 ] 

David Lloyd commented on JBLOGGING-98:
--------------------------------------

I assume by "once" you mean "really, really once no matter how many logger instances we create".  

Impl. note: this would be an ideal job for switchpoint, as the resultant method can be made to run one time and then remove itself from optimization completely.
                
> Ability to annotate @LogMessage as "log once"
> ---------------------------------------------
>
>                 Key: JBLOGGING-98
>                 URL: https://issues.jboss.org/browse/JBLOGGING-98
>             Project: JBoss Logging
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>            Reporter: Steve Ebersole
>            Assignee: James Perkins
>
> Ideally via an optional annotation ({{@LogOnce}}?)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list