ErrorLogger() {
        try {
            logger.addAppender(new RollingFileAppender(
                    new SimpleLayout(), "monitor.warnings",
                    true
            ));
        } catch (IOException e) {
            logger.error("Cannot configure logger", e);
        }
    }