rm5248 commented on code in PR #135:
URL: https://github.com/apache/logging-log4cxx/pull/135#discussion_r984568574


##########
src/main/cpp/hierarchy.cpp:
##########
@@ -433,6 +433,22 @@ void Hierarchy::updateChildren(ProvisionNode& pn, const 
LoggerPtr& logger)
                        l->setParent( logger );
                }
        }
+    
+}
+
+void Hierarchy::updateChildren(const Logger* parent)
+{
+       for (auto& item : m_priv->loggers)
+       {
+               for (auto l = item.second; l; l = l->getParent())
+               {
+                       if (l->getParent().get() == parent)

Review Comment:
   I'm pretty sure this is going to only go one level deep though?  so 
`com.example` would get set but not `com.example.foo`



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to