[jboss-jira] [JBoss JIRA] (LOGMGR-52) Add option to WriterHandler to collapse repeated messages

David Lloyd (JIRA) jira-events at lists.jboss.org
Fri Oct 5 10:08:03 EDT 2012


David Lloyd created LOGMGR-52:
---------------------------------

             Summary: Add option to WriterHandler to collapse repeated messages
                 Key: LOGMGR-52
                 URL: https://issues.jboss.org/browse/LOGMGR-52
             Project: JBoss Log Manager
          Issue Type: Feature Request
      Security Level: Public (Everyone can see)
            Reporter: David Lloyd
            Assignee: David Lloyd
             Fix For: 1.4.0.Beta1


The WriterHandler could have a time interval configured wherein a repeated message would be collapsed.

The last message would be stored in a field for comparison along with a nanoTime tag (the timestamp on the message is not adequate because the clock can have skew or be reset completely at any time).  If the current message string equals the last message string, and collapsing is enabled, then instead of logging the message, a count is incremented.  If the current message is not equal, then the stored message is logged with a tag indicating the number of repeats (i18n?) and then the next submitted message is logged.

--
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