uima-ducc-common/src/main/java/org/apache/uima/ducc/common/utils/DuccLogger.java [101:130]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    public DuccLogger getLoggerFor(String claz)
    {
        if ( logger == null ) {
            System.out.println("DuccLogger is not initialized, cannot create logger for(" + claz + ").");
            return this;
        }

        if ( claz == null ) {
            throw new IllegalArgumentException("New log name must not be null");
        }

        DuccLogger ret = getLogger(claz, this.getComponent());

        Category l = logger;
        // List<Appender> appenders= new ArrayList<Appender>();
        while ( l != null ) {
        	@SuppressWarnings("rawtypes")
			Enumeration apps = l.getAllAppenders();                        
            if ( apps.hasMoreElements() ) {                
                while (apps.hasMoreElements() ) {
                    Appender app = (Appender) apps.nextElement();
                    if ( ret.getAppender(app.getName()) == null ) {
                        ret.addAppender(app);
                    }
                }
            } 
            l = l.getParent();
        }
        return ret;
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



uima-ducc-orchestrator/src/main/java/org/apache/uima/ducc/orchestrator/system/events/log/DuccLogger.java [88:117]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    public DuccLogger getLoggerFor(String claz)
    {
        if ( logger == null ) {
            System.out.println("DuccLogger is not initialized, cannot create logger for(" + claz + ").");
            return this;
        }

        if ( claz == null ) {
            throw new IllegalArgumentException("New log name must not be null");
        }

        DuccLogger ret = getLogger(claz, this.getComponent());

        Category l = logger;
        // List<Appender> appenders= new ArrayList<Appender>();
        while ( l != null ) {
        	@SuppressWarnings("rawtypes")
			Enumeration apps = l.getAllAppenders();                        
            if ( apps.hasMoreElements() ) {                
                while (apps.hasMoreElements() ) {
                    Appender app = (Appender) apps.nextElement();
                    if ( ret.getAppender(app.getName()) == null ) {
                        ret.addAppender(app);
                    }
                }
            } 
            l = l.getParent();
        }
        return ret;
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



