Summary: | com.apache.log4j.varia.NullAppender lack static accessor to static instance | ||
---|---|---|---|
Product: | Log4j - Now in Jira | Reporter: | Ola Mattsson <ola.mattsson> |
Component: | Appender | Assignee: | log4j-dev <log4j-dev> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | P2 | ||
Version: | 1.2 | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Attachments: | patch to make getInstance() static. |
Description
Ola Mattsson
2008-03-07 05:32:00 UTC
Created attachment 22348 [details]
patch to make getInstance() static.
Changing getInstance() from a member method to a static method would be an API change. There is the unlikely possibility that someone overloaded the method and would not take kindly to the change. I added a static getNullAppender() method and marked getInstance() as deprecated. |