code: public void setLogger(Logger logger) {
  
  		System.out.println("LOGGER set");
  //		if(logger instanceof SimpleFileLogger) {
  			this.logger = logger;
  			System.out.println("appender added");
  			this.logger.addAppender(this);
  //		}
  	}
docs: Invoked by injection.