Details
Description
Many appenders have a bug in their implementation of setOption.
Instead of passing (option, value) to the superclasses' setOption
method, they incorrectly pass the appender's name. For example:
void FileAppender::setOption(const String& option,
const String& value)
{
...
WriterAppender::setOption(name, value);
... ^^^^
}
This bug was probably not discovered before, because until now
neither WriterAppender, nor AppenderSkeleton were handling
attributes. But if such attributes are introduced (see LOGCXX-28)
these typos break them for most handlers...