Can someone commit the patch for bug LOG4CXX-118? 
It's potentially a pretty big problem and I actually
came up with the same solution before I found the bug
report and patch.

In the example posted with the bug, when you call
updateParents() for the first logger (name =
"Comm.CommClient", substr = "Comm"), you add "Comm" as
a key to the ProvisionNodeMap.  Then the second time
through updateParents() (name = "Comm.CommServer",
substr = "Comm"), you should find "Comm" in the
ProvisionNodeMap, and add this logger to the vector of
loggerPtr's for this provisionNode
(it2->second.push_back(logger)).  But instead, it
tries to find "name" in the ProvisionNodeMap (name =
"Comm.CommServer"), and when it doesn't find it, it
tries to add it to the ProvisionNodeMap - but it
already has an entry with that same key.  Hopefully
this description helps save some time when looking
over the fix.

Thanks



__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Reply via email to