https://issues.apache.org/bugzilla/show_bug.cgi?id=44555
Summary: com.apache.log4j.varia.NullAppender lack static accessor
to static instance
Product: Log4j
Version: 1.2
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: normal
Priority: P2
Component: Appender
AssignedTo: [email protected]
ReportedBy: [EMAIL PROTECTED]
I noticed that the NullAppender class have a private static NullAppender
instance variable, which is supposed to let you avoid creating new NullAppender
instances whenever you need one. But the getInstance method that is supposed to
return the instance is not static, so you have to first create a new
NullAppender before you can get the static instance.
Seems kinda pointless, doesn't it?
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]