rm5248 commented on code in PR #694:
URL: https://github.com/apache/logging-log4cxx/pull/694#discussion_r3334259581
##########
src/main/cpp/threadutility.cpp:
##########
@@ -267,21 +269,30 @@ ThreadStartPost ThreadUtility::postStartFunction()
*/
void ThreadUtility::addPeriodicTask(const LogString& name,
std::function<void()> f, const Period& delay)
{
+ if (!m_priv->log)
+ m_priv->log = Logger::getLogger("ThreadUtility");
Review Comment:
if we're going to add loggers that can go through the normal logging route,
we should prefix these loggers with `log4cxx.` in order to differentiate them
from the user-created loggers.
--
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]