this.logger = AbstractComponent.getLogger(this.getClass().getName(), resource); this.logger.setLevel(AbstractComponent.INTERNAL_LOG_LEVEL);
this.logger = this.repository.getLogger(this.getClass().getName());
    protected ExtendedLogger getLogger() {        if (this.logger == null) {            MessageProperties messageProperties = getMessageProperties();            String resource = null;            if (messageProperties != null) {                resource = messageProperties.getValueAsString();            }            this.logger = AbstractComponent.getLogger(this.getClass().getName(), resource);            this.logger.setLevel(AbstractComponent.INTERNAL_LOG_LEVEL);        }        return this.logger;    }