update logger.getInstance to use logger.addAppendar