https://issues.apache.org/bugzilla/show_bug.cgi?id=46163
Summary: LoggerDynamicMBean needs to handle a null Appender name
Product: Log4j
Version: 1.2
Platform: PC
OS/Version: Mac OS X 10.4
Status: NEW
Severity: normal
Priority: P2
Component: Other
AssignedTo: [email protected]
ReportedBy: [EMAIL PROTECTED]
If a plain BasicConfigurator.configure() is called in an application after the
HierarchyMBean is instantiated, then an exception is thrown trying to create an
ObjectName for the appender based on the Appender's name property, which is
initialised to null, and is not allowed.
Instead, the LoggerDynamicMBean class should be defensive when creating a
Appender MBean's by detecting a null/empty string name and at least trying to
use .toString() to construct a logical display name.
--
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]