-
Enhancement
-
Resolution: Unresolved
-
P5
-
None
-
7
-
x86
-
windows_xp
A DESCRIPTION OF THE REQUEST :
By default all of the JDK log handlers support basic properties of Filter, Formatter, and Level as specified by the j.u.l.Handler documentation. However all handlers have an ErrorManager property that can be changed only at runtime and not through the LogManager properties. Currently, none of the Handler subclasses define a property to allow for user defined ErrorManager objects.
JUSTIFICATION :
Ease of configuration and a completes the handler feature set. Writing code to perform this feature is error prone.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Addition of ".errorManager" property, allowing the user to specify the class name of a custom error manager to load for a specific handler type. For example:
java.util.logging.FileHandler.errorManager = com.win.EventLogErrorManager
CUSTOMER SUBMITTED WORKAROUND :
Write custom code and use the LogManager config property.
By default all of the JDK log handlers support basic properties of Filter, Formatter, and Level as specified by the j.u.l.Handler documentation. However all handlers have an ErrorManager property that can be changed only at runtime and not through the LogManager properties. Currently, none of the Handler subclasses define a property to allow for user defined ErrorManager objects.
JUSTIFICATION :
Ease of configuration and a completes the handler feature set. Writing code to perform this feature is error prone.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Addition of ".errorManager" property, allowing the user to specify the class name of a custom error manager to load for a specific handler type. For example:
java.util.logging.FileHandler.errorManager = com.win.EventLogErrorManager
CUSTOMER SUBMITTED WORKAROUND :
Write custom code and use the LogManager config property.