[logback-dev] [JIRA] Commented: (LBCLASSIC-195) Allow TurboFilters to modify events

Joern Huxhorn (JIRA) noreply-jira at qos.ch
Fri Mar 19 13:55:16 CET 2010


    [ http://jira.qos.ch/browse/LBCLASSIC-195?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=11642#action_11642 ] 

Joern Huxhorn commented on LBCLASSIC-195:
-----------------------------------------

Isn't LoggingEvent mostly unmodifiable? What values of the event are supposed to be changed?

I could imagine raising or lowering the Level, for example, but the setter looks like this:
  public void setLevel(Level level) {
    if (this.level != null) {
      throw new IllegalStateException(
          "The level has been already set for this event.");
    }
    this.level = level;
  }

While I see significant use in making LoggingEvent modifiable (I suggested that quite some time ago) it's a quite substantial change, much beyond just changing TurboFilter!

> Allow TurboFilters to modify events
> -----------------------------------
>
>                 Key: LBCLASSIC-195
>                 URL: http://jira.qos.ch/browse/LBCLASSIC-195
>             Project: logback-classic
>          Issue Type: Improvement
>          Components: Other
>            Reporter: Ceki Gulcu
>            Assignee: Ceki Gulcu
>            Priority: Blocker
>
> http://qos.ch/pipermail/logback-dev/2010-March/005290.html

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

        


More information about the logback-dev mailing list