Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
0.9.7
-
None
-
Linux, but affects all platforms.
Description
The threshold of an appender cannot be configured using
the Property- or DOMConfigurator, because AppenderSkeleton
lacks a properly implemented setOption method.
When encountering the Threshold attribute, the Configurators
call the setOption method of the appropriate appender class,
which delegates the call up the hierarchy until it reaches
AppenderSkeleton::setOption, which is an empty method!
However, the documentation for AppenderSkeleton::setThreshold
states: "In configuration files this option is specified by setting
the value of the Threshold option...". Doh!