void PropertyConfigurator::configureNonRootElements(const Properties &rProperties,
                                                        LoggerRepository *pLoggerRepository)
    {
        Q_ASSERT_X(pLoggerRepository, "PropertyConfigurator::configureNonRootElements()", "pLoggerRepository must not be null.");

        const QString logger_prefix = QLatin1String("log4j.logger.");
        const QString category_prefix = QLatin1String("log4j.category.");

        // Iterate through all entries:
        // - Test for the logger/category prefix
        // - Convert JAVA class names to C++ ones
        // - Parse logger data (Level, Appender)
        // - Parse logger additivity

        QStringList keys = rProperties.propertyNames();
        QString key;
        Q_FOREACH(key, keys)
        {
            QString java_name;
            if (key.startsWith(logger_prefix))
                java_name = key.mid(logger_prefix.length());
            else if (key.startsWith(category_prefix))
                java_name = key.mid(category_prefix.length());
            QString cpp_name = OptionConverter::classNameJavaToCpp(java_name);
            if (!java_name.isEmpty())
            {
                Logger *p_logger = pLoggerRepository->logger(cpp_name);
                QString value = OptionConverter::findAndSubst(rProperties, key);
                parseLogger(rProperties, p_logger, key, value);
                parseAdditivityForLogger(rProperties, p_logger, java_name);
            }
        }
string ofxKinectV2OSC::buildDebugString() {
	string debug = "DEBUG\n";
    if(!font.isLoaded()) {
        debug.append("\nFont not loaded correctly... see ofApp() and copy the font into the bin/data directory\n");
    }
    
	if(logger.size() == 0) {
		debug.append("\nNo data received... try re-initiating the source");
	} else {
		debug.append(parseLogger());
	}
	return debug;
}